Color: #AF1840

#AF1840 Color Information

#AF1840 is a dark color. The closest websafe version is #AF1840. A complement of this color would be #18AF87, perceived brightness is 0.29, and the grayscale version is #636363.

In the HSL color space, this color has a hue angle of 344°,a saturation of 76%, and a lightness of 39%.The HSV representation shows a hue of 344°, a saturation of 86%, and a value of 69%.

In a RGB color space, #AF1840 is composed of 69% red, 9% green and 25% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 86% magenta, 63% yellow and 31% black.

In the Yxy color space, this color is represented as Y: 10.50, x: 0.5712, and y: 0.3032.

Color Code #AF1840

#AF1840rgb(175, 24, 64)
HEX
#AF1840
RGB
rgb(175, 24, 64)
HSL
hsl(344, 76%, 39%)
HSV
hsv(344, 86%, 69%)
CMYK
0%, 86%, 63%, 31%
XYZ
X: 19.78, Y: 10.50, Z: 4.35
Lab
L: 38.73, a: 58.97, b: 19.39
Name

Shades of Color #AF1840

Shades are created by darkening the original color #AF1840 in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.

Tints of Color #AF1840

Tints are created by lightening the original color #AF1840 in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.

#AF1840rgb(175, 24, 64)

About #AF1840 Color Code

In the HSL color space, this color has a hue angle of 344°, a saturation of 76%, and a lightness of 39%. The HSV representation shows a hue of 344°, a saturation of 86%, and a value of 69%.

  • HEX: #AF1840
  • RGB: rgb(175, 24, 64)
  • HSL: hsl(344, 76%, 39%)
  • HSV: hsv(344, 86%, 69%)
  • CMYK: 0.00% cyan, 86.00% magenta, 63.00% yellow, 31.00% black
  • XYZ: 19.78, 10.50, 4.35
  • Yxy: 10.50, 0.5712, 0.3032
  • Hunter Lab: 38.73, 58.97, 19.39
  • CIE-Lab: 38.73, 58.97, 19.39

In the XYZ color space, this color is represented as X: 19.78, Y: 10.50, Z: 4.35. The Yxy representation further refines this as Y: 10.50, x: 0.5712, and y: 0.3032.

In the Hunter Lab color space, this color is represented as L: 38.73, a: 58.97, and b: 19.39. Similarly, in the CIE-Lab color space, it is represented as L: 38.73, a: 58.97, and b: 19.39.

Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.

Triadic Colors of #AF1840

Triadic colors are three colors evenly spaced around the color wheel, including #AF1840. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #AF1840

Analogous colors are adjacent to #AF1840 on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Split Complementary Colors of #AF1840

Split complementary colors are two colors adjacent to the complementary color of #AF1840. They create a balanced and visually appealing color scheme.

Tetradic Colors of #AF1840

Tetradic colors form a rectangle on the color wheel, including #AF1840. They provide vibrant and diverse color schemes for creative designs.

Monochromatic Colors of #AF1840

Monochromatic colors are variations of #AF1840, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #AF1840

The complementary color of #AF1840 is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.

CSS Examples of #AF1840

/* Using HEX */
body {
  background-color: #af1840;
}
/* Using RGB */
body {
  background-color: rgb(175, 24, 64);
}
/* Using RGB with opacity */
body {
  background-color: rgba(175, 24, 64, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(344, 76%, 39%);
}
/* Text color */
p {
  color: #af1840;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #af1840;
}
/* Border color */
.box {
  border: 4px solid #af1840;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #af1840;
}
Text Shadow Preview
/* Background with text */
div {
  background: #af1840;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#AF1840
On Black Background
#AF1840
On White Background
#AF1840

HTML Examples of #AF1840

<!-- Using HEX -->
<div style="background-color: #af1840; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(175, 24, 64); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(175, 24, 64, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(344, 76%, 39%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #af1840;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #af1840; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #af1840; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #af1840;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #af1840; color: #fff; padding: 16px; border-radius: 8px;">
  #AF1840
</div>
#AF1840
On Black Background
#AF1840
On White Background
#AF1840

Related Colors of #AF1840

These colors are similar to #AF1840, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.