In RGB color space, #d172a6 hex color has a red value of 209, a green value of 114 and a blue value of 166.
In CMYK color space (used in color printing), #d172a6 hex color is composed of 0% cyan, 45.45% magenta, 20.57% yellow and 18.04% black.
#d172a6 color has a hue of 327.2 degrees, a saturation of 50.8% and a lightness of 63.3%.
#d172a6 hex color contains mainly RED.
The closest web safe color of #d172a6 is #cc6699
#d172a6 hex color has a decimal value of 13726374.
HEX | d172a6 | #d172a6 |
---|---|---|
RGB | 209, 114, 166 | rgb(209, 114, 166) |
RGB Percent | 81.96, 44.71, 65.1 | rgb(81.96, 44.71, 65.1) |
CMYK | 0, 45, 21, 18 | |
HSL | 327.2°, 50.8, 63.3 | hsl(327.2, 50.8%, 63.3%) |
HSV | 327.2°, 45.5, 82 |
XYZ | 39.195, 28.343, 39.481 |
---|---|
Hunter Lab | 53.238, 38.249, -6.702 |
CIE-LAB | 60.197, 43.727, -11.243 |
CIE-LCH | 60.197, 45.149, 345.581 |
CIE-LUV | 0, 45.45, 20.57, 18.04 |
Web Safe | cc6699 |
RGB percent of color #d172a6
CMYK percent of color #d172a6
Text with hexadecimal color #d172a6
This text has a font color of #d172a6
<p style="color:#d172a6">Text here</p>
#d172a6 Background Color
This box has a background color of #d172a6
<div style="background-color:#d172a6">Text here</div>
#d172a6 Border Color
This box has a border color of #d172a6
<div style="border: 4px solid #d172a6">Text here</div>
CSS codes
<p style="color:#d172a6">Text here</p>
<div style="background-color:#d172a6">Text here</div>
<div style="border: 4px solid #d172a6">Text here</div>
#d172a6 Color on white background
This is how a font and box color of #d172a6 will look
on a white background.
#d172a6 Color on black background
This is how a font and box color of #d172a6 hex color will look
on a black background.