In RGB color space, #af21c8 hex color has a red value of 175, a green value of 33 and a blue value of 200.
In CMYK color space (used in color printing), #af21c8 hex color is composed of 12.5% cyan, 83.5% magenta, 0% yellow and 21.57% black.
#af21c8 color has a hue of 291 degrees, a saturation of 71.67% and a lightness of 45.7%.
#af21c8 hex color contains mainly BLUE.
The closest web safe color of #af21c8 is #9933cc
#af21c8 hex color has a decimal value of 11477448.
HEX | af21c8 | #af21c8 |
---|---|---|
RGB | 175, 33, 200 | rgb(175, 33, 200) |
RGB Percent | 68.63, 12.94, 78.43 | rgb(68.63, 12.94, 78.43) |
CMYK | 13, 84, 0, 22 | |
HSL | 291°, 71.67, 45.7 | hsl(291, 71.67%, 45.7%) |
HSV | 291°, 83.5, 78.4 |
XYZ | 28.648, 14.372, 55.908 |
---|---|
Hunter Lab | 37.91, 68.545, -60.9 |
CIE-LAB | 44.762, 73.335, -55.391 |
CIE-LCH | 44.762, 91.903, 322.936 |
CIE-LUV | 12.5, 83.5, 0, 21.57 |
Web Safe | 9933cc |
RGB percent of color #af21c8
CMYK percent of color #af21c8
Text with hexadecimal color #af21c8
This text has a font color of #af21c8
<p style="color:#af21c8">Text here</p>
#af21c8 Background Color
This box has a background color of #af21c8
<div style="background-color:#af21c8">Text here</div>
#af21c8 Border Color
This box has a border color of #af21c8
<div style="border: 4px solid #af21c8">Text here</div>
CSS codes
<p style="color:#af21c8">Text here</p>
<div style="background-color:#af21c8">Text here</div>
<div style="border: 4px solid #af21c8">Text here</div>
#af21c8 Color on white background
This is how a font and box color of #af21c8 will look
on a white background.
#af21c8 Color on black background
This is how a font and box color of #af21c8 hex color will look
on a black background.