In RGB color space, #af21a1 hex color has a red value of 175, a green value of 33 and a blue value of 161.
In CMYK color space (used in color printing), #af21a1 hex color is composed of 0% cyan, 81.14% magenta, 8% yellow and 31.37% black.
#af21a1 color has a hue of 305.9 degrees, a saturation of 68.27% and a lightness of 40.8%.
#af21a1 hex color contains mainly RED.
The closest web safe color of #af21a1 is #993399
#af21a1 hex color has a decimal value of 11477409.
HEX | af21a1 | #af21a1 |
---|---|---|
RGB | 175, 33, 161 | rgb(175, 33, 161) |
RGB Percent | 68.63, 12.94, 63.14 | rgb(68.63, 12.94, 63.14) |
CMYK | 0, 81, 8, 31 | |
HSL | 305.9°, 68.27, 40.8 | hsl(305.9, 68.27%, 40.8%) |
HSV | 305.9°, 81.1, 68.6 |
XYZ | 24.656, 12.775, 34.884 |
---|---|
Hunter Lab | 35.742, 60.586, -32.847 |
CIE-LAB | 42.422, 67.063, -36.124 |
CIE-LCH | 42.422, 76.173, 331.691 |
CIE-LUV | 0, 81.14, 8, 31.37 |
Web Safe | 993399 |
RGB percent of color #af21a1
CMYK percent of color #af21a1
Text with hexadecimal color #af21a1
This text has a font color of #af21a1
<p style="color:#af21a1">Text here</p>
#af21a1 Background Color
This box has a background color of #af21a1
<div style="background-color:#af21a1">Text here</div>
#af21a1 Border Color
This box has a border color of #af21a1
<div style="border: 4px solid #af21a1">Text here</div>
CSS codes
<p style="color:#af21a1">Text here</p>
<div style="background-color:#af21a1">Text here</div>
<div style="border: 4px solid #af21a1">Text here</div>
#af21a1 Color on white background
This is how a font and box color of #af21a1 will look
on a white background.
#af21a1 Color on black background
This is how a font and box color of #af21a1 hex color will look
on a black background.