In RGB color space, #d842a1 hex color has a red value of 216, a green value of 66 and a blue value of 161.
In CMYK color space (used in color printing), #d842a1 hex color is composed of 0% cyan, 69.44% magenta, 25.46% yellow and 15.29% black.
#d842a1 color has a hue of 322 degrees, a saturation of 65.79% and a lightness of 55.3%.
#d842a1 hex color contains mainly RED.
The closest web safe color of #d842a1 is #cc3399
#d842a1 hex color has a decimal value of 14172833.
HEX | d842a1 | #d842a1 |
---|---|---|
RGB | 216, 66, 161 | rgb(216, 66, 161) |
RGB Percent | 84.71, 25.88, 63.14 | rgb(84.71, 25.88, 63.14) |
CMYK | 0, 69, 25, 15 | |
HSL | 322°, 65.79, 55.3 | hsl(322, 65.79%, 55.3%) |
HSV | 322°, 69.4, 84.7 |
XYZ | 36.7, 21.069, 35.851 |
---|---|
Hunter Lab | 45.901, 62.392, -14.178 |
CIE-LAB | 53.025, 66.572, -19.097 |
CIE-LCH | 53.025, 69.257, 343.994 |
CIE-LUV | 0, 69.44, 25.46, 15.29 |
Web Safe | cc3399 |
RGB percent of color #d842a1
CMYK percent of color #d842a1
Text with hexadecimal color #d842a1
This text has a font color of #d842a1
<p style="color:#d842a1">Text here</p>
#d842a1 Background Color
This box has a background color of #d842a1
<div style="background-color:#d842a1">Text here</div>
#d842a1 Border Color
This box has a border color of #d842a1
<div style="border: 4px solid #d842a1">Text here</div>
CSS codes
<p style="color:#d842a1">Text here</p>
<div style="background-color:#d842a1">Text here</div>
<div style="border: 4px solid #d842a1">Text here</div>
#d842a1 Color on white background
This is how a font and box color of #d842a1 will look
on a white background.
#d842a1 Color on black background
This is how a font and box color of #d842a1 hex color will look
on a black background.