In RGB color space, #d8171f hex color has a red value of 216, a green value of 23 and a blue value of 31.
In CMYK color space (used in color printing), #d8171f hex color is composed of 0% cyan, 89.35% magenta, 85.65% yellow and 15.29% black.
#d8171f color has a hue of 357.5 degrees, a saturation of 80.75% and a lightness of 46.9%.
#d8171f hex color contains mainly RED.
The closest web safe color of #d8171f is #cc0033
#d8171f hex color has a decimal value of 14161695.
HEX | d8171f | #d8171f |
---|---|---|
RGB | 216, 23, 31 | rgb(216, 23, 31) |
RGB Percent | 84.71, 9.02, 12.16 | rgb(84.71, 9.02, 12.16) |
CMYK | 0, 89, 86, 15 | |
HSL | 357.5°, 80.75, 46.9 | hsl(357.5, 80.75%, 46.9%) |
HSV | 357.5°, 89.4, 84.7 |
XYZ | 28.873, 15.311, 2.73 |
---|---|
Hunter Lab | 39.129, 63.237, 23.254 |
CIE-LAB | 46.057, 68.627, 48.458 |
CIE-LCH | 46.057, 84.011, 35.226 |
CIE-LUV | 0, 89.35, 85.65, 15.29 |
Web Safe | cc0033 |
RGB percent of color #d8171f
CMYK percent of color #d8171f
Text with hexadecimal color #d8171f
This text has a font color of #d8171f
<p style="color:#d8171f">Text here</p>
#d8171f Background Color
This box has a background color of #d8171f
<div style="background-color:#d8171f">Text here</div>
#d8171f Border Color
This box has a border color of #d8171f
<div style="border: 4px solid #d8171f">Text here</div>
CSS codes
<p style="color:#d8171f">Text here</p>
<div style="background-color:#d8171f">Text here</div>
<div style="border: 4px solid #d8171f">Text here</div>
#d8171f Color on white background
This is how a font and box color of #d8171f will look
on a white background.
#d8171f Color on black background
This is how a font and box color of #d8171f hex color will look
on a black background.