Color: #AF045C

#AF045C Color Information

#AF045C is a dark color. The closest websafe version is #AF045C. A complement of this color would be #04AF56, perceived brightness is 0.26, and the grayscale version is #5A5A5A.

In the HSL color space, this color has a hue angle of 329°,a saturation of 96%, and a lightness of 35%.The HSV representation shows a hue of 329°, a saturation of 98%, and a value of 69%.

In a RGB color space, #AF045C is composed of 69% red, 2% green and 36% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 98% magenta, 47% yellow and 31% black.

In the Yxy color space, this color is represented as Y: 10.27, x: 0.5226, and y: 0.2648.

Color Code #AF045C

#AF045Crgb(175, 4, 92)
HEX
#AF045C
RGB
rgb(175, 4, 92)
HSL
hsl(329, 96%, 35%)
HSV
hsv(329, 98%, 69%)
CMYK
0%, 98%, 47%, 31%
XYZ
X: 20.27, Y: 10.27, Z: 8.25
Lab
L: 38.33, a: 63.13, b: 0.84
Name

Shades of Color #AF045C

Shades are created by darkening the original color #AF045C 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 #AF045C

Tints are created by lightening the original color #AF045C 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.

#AF045Crgb(175, 4, 92)

About #AF045C Color Code

In the HSL color space, this color has a hue angle of 329°, a saturation of 96%, and a lightness of 35%. The HSV representation shows a hue of 329°, a saturation of 98%, and a value of 69%.

  • HEX: #AF045C
  • RGB: rgb(175, 4, 92)
  • HSL: hsl(329, 96%, 35%)
  • HSV: hsv(329, 98%, 69%)
  • CMYK: 0.00% cyan, 98.00% magenta, 47.00% yellow, 31.00% black
  • XYZ: 20.27, 10.27, 8.25
  • Yxy: 10.27, 0.5226, 0.2648
  • Hunter Lab: 38.33, 63.13, 0.84
  • CIE-Lab: 38.33, 63.13, 0.84

In the XYZ color space, this color is represented as X: 20.27, Y: 10.27, Z: 8.25. The Yxy representation further refines this as Y: 10.27, x: 0.5226, and y: 0.2648.

In the Hunter Lab color space, this color is represented as L: 38.33, a: 63.13, and b: 0.84. Similarly, in the CIE-Lab color space, it is represented as L: 38.33, a: 63.13, and b: 0.84.

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 #AF045C

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

Analogous Colors of #AF045C

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

Monochromatic Colors of #AF045C

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

Complementary Color of #AF045C

The complementary color of #AF045C 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 #AF045C

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

HTML Examples of #AF045C

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

Related Colors of #AF045C

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