In RGB color space, #af51a2 hex color has a red value of 175, a green value of 81 and a blue value of 162.
In CMYK color space (used in color printing), #af51a2 hex color is composed of 0% cyan, 53.71% magenta, 7.43% yellow and 31.37% black.
#af51a2 color has a hue of 308.3 degrees, a saturation of 37.01% and a lightness of 50.2%.
#af51a2 hex color contains mainly RED.
The closest web safe color of #af51a2 is #996699
#af51a2 hex color has a decimal value of 11489698.
HEX | af51a2 | #af51a2 |
---|---|---|
RGB | 175, 81, 162 | rgb(175, 81, 162) |
RGB Percent | 68.63, 31.76, 63.53 | rgb(68.63, 31.76, 63.53) |
CMYK | 0, 54, 7, 31 | |
HSL | 308.3°, 37.01, 50.2 | hsl(308.3, 37.01%, 50.2%) |
HSV | 308.3°, 53.7, 68.6 |
XYZ | 27.143, 17.607, 36.15 |
---|---|
Hunter Lab | 41.961, 42.035, -21.707 |
CIE-LAB | 49.016, 49.022, -26.392 |
CIE-LCH | 49.016, 55.675, 331.703 |
CIE-LUV | 0, 53.71, 7.43, 31.37 |
Web Safe | 996699 |
RGB percent of color #af51a2
CMYK percent of color #af51a2
Text with hexadecimal color #af51a2
This text has a font color of #af51a2
<p style="color:#af51a2">Text here</p>
#af51a2 Background Color
This box has a background color of #af51a2
<div style="background-color:#af51a2">Text here</div>
#af51a2 Border Color
This box has a border color of #af51a2
<div style="border: 4px solid #af51a2">Text here</div>
CSS codes
<p style="color:#af51a2">Text here</p>
<div style="background-color:#af51a2">Text here</div>
<div style="border: 4px solid #af51a2">Text here</div>
#af51a2 Color on white background
This is how a font and box color of #af51a2 will look
on a white background.
#af51a2 Color on black background
This is how a font and box color of #af51a2 hex color will look
on a black background.