In RGB color space, #af51a8 hex color has a red value of 175, a green value of 81 and a blue value of 168.
In CMYK color space (used in color printing), #af51a8 hex color is composed of 0% cyan, 53.71% magenta, 4% yellow and 31.37% black.
#af51a8 color has a hue of 304.5 degrees, a saturation of 37.01% and a lightness of 50.2%.
#af51a8 hex color contains mainly RED.
The closest web safe color of #af51a8 is #996699
#af51a8 hex color has a decimal value of 11489704.
HEX | af51a8 | #af51a8 |
---|---|---|
RGB | 175, 81, 168 | rgb(175, 81, 168) |
RGB Percent | 68.63, 31.76, 65.88 | rgb(68.63, 31.76, 65.88) |
CMYK | 0, 54, 4, 31 | |
HSL | 304.5°, 37.01, 50.2 | hsl(304.5, 37.01%, 50.2%) |
HSV | 304.5°, 53.7, 68.6 |
XYZ | 27.69, 17.826, 39.027 |
---|---|
Hunter Lab | 42.221, 43.18, -25.25 |
CIE-LAB | 49.284, 50.062, -29.509 |
CIE-LCH | 49.284, 58.112, 329.483 |
CIE-LUV | 0, 53.71, 4, 31.37 |
Web Safe | 996699 |
RGB percent of color #af51a8
CMYK percent of color #af51a8
Text with hexadecimal color #af51a8
This text has a font color of #af51a8
<p style="color:#af51a8">Text here</p>
#af51a8 Background Color
This box has a background color of #af51a8
<div style="background-color:#af51a8">Text here</div>
#af51a8 Border Color
This box has a border color of #af51a8
<div style="border: 4px solid #af51a8">Text here</div>
CSS codes
<p style="color:#af51a8">Text here</p>
<div style="background-color:#af51a8">Text here</div>
<div style="border: 4px solid #af51a8">Text here</div>
#af51a8 Color on white background
This is how a font and box color of #af51a8 will look
on a white background.
#af51a8 Color on black background
This is how a font and box color of #af51a8 hex color will look
on a black background.