In RGB color space, #af40a2 hex color has a red value of 175, a green value of 64 and a blue value of 162.
In CMYK color space (used in color printing), #af40a2 hex color is composed of 0% cyan, 63.43% magenta, 7.43% yellow and 31.37% black.
#af40a2 color has a hue of 307 degrees, a saturation of 46.44% and a lightness of 46.9%.
#af40a2 hex color contains mainly RED.
The closest web safe color of #af40a2 is #993399
#af40a2 hex color has a decimal value of 11485346.
HEX | af40a2 | #af40a2 |
---|---|---|
RGB | 175, 64, 162 | rgb(175, 64, 162) |
RGB Percent | 68.63, 25.1, 63.53 | rgb(68.63, 25.1, 63.53) |
CMYK | 0, 63, 7, 31 | |
HSL | 307°, 46.44, 46.9 | hsl(307, 46.44%, 46.9%) |
HSV | 307°, 63.4, 68.6 |
XYZ | 26.034, 15.389, 35.781 |
---|---|
Hunter Lab | 39.229, 49.81, -26.619 |
CIE-LAB | 46.162, 56.775, -30.839 |
CIE-LCH | 46.162, 64.61, 331.49 |
CIE-LUV | 0, 63.43, 7.43, 31.37 |
Web Safe | 993399 |
RGB percent of color #af40a2
CMYK percent of color #af40a2
Text with hexadecimal color #af40a2
This text has a font color of #af40a2
<p style="color:#af40a2">Text here</p>
#af40a2 Background Color
This box has a background color of #af40a2
<div style="background-color:#af40a2">Text here</div>
#af40a2 Border Color
This box has a border color of #af40a2
<div style="border: 4px solid #af40a2">Text here</div>
CSS codes
<p style="color:#af40a2">Text here</p>
<div style="background-color:#af40a2">Text here</div>
<div style="border: 4px solid #af40a2">Text here</div>
#af40a2 Color on white background
This is how a font and box color of #af40a2 will look
on a white background.
#af40a2 Color on black background
This is how a font and box color of #af40a2 hex color will look
on a black background.