In RGB color space, #d172a1 hex color has a red value of 209, a green value of 114 and a blue value of 161.
In CMYK color space (used in color printing), #d172a1 hex color is composed of 0% cyan, 45.45% magenta, 22.97% yellow and 18.04% black.
#d172a1 color has a hue of 330.3 degrees, a saturation of 50.8% and a lightness of 63.3%.
#d172a1 hex color contains mainly RED.
The closest web safe color of #d172a1 is #cc6699
#d172a1 hex color has a decimal value of 13726369.
HEX | d172a1 | #d172a1 |
---|---|---|
RGB | 209, 114, 161 | rgb(209, 114, 161) |
RGB Percent | 81.96, 44.71, 63.14 | rgb(81.96, 44.71, 63.14) |
CMYK | 0, 45, 23, 18 | |
HSL | 330.3°, 50.8, 63.3 | hsl(330.3, 50.8%, 63.3%) |
HSV | 330.3°, 45.5, 82 |
XYZ | 38.745, 28.163, 37.112 |
---|---|
Hunter Lab | 53.069, 37.451, -4.314 |
CIE-LAB | 60.036, 42.994, -8.61 |
CIE-LCH | 60.036, 43.848, 348.676 |
CIE-LUV | 0, 45.45, 22.97, 18.04 |
Web Safe | cc6699 |
RGB percent of color #d172a1
CMYK percent of color #d172a1
Text with hexadecimal color #d172a1
This text has a font color of #d172a1
<p style="color:#d172a1">Text here</p>
#d172a1 Background Color
This box has a background color of #d172a1
<div style="background-color:#d172a1">Text here</div>
#d172a1 Border Color
This box has a border color of #d172a1
<div style="border: 4px solid #d172a1">Text here</div>
CSS codes
<p style="color:#d172a1">Text here</p>
<div style="background-color:#d172a1">Text here</div>
<div style="border: 4px solid #d172a1">Text here</div>
#d172a1 Color on white background
This is how a font and box color of #d172a1 will look
on a white background.
#d172a1 Color on black background
This is how a font and box color of #d172a1 hex color will look
on a black background.