In RGB color space, #c842b1 hex color has a red value of 200, a green value of 66 and a blue value of 177.
In CMYK color space (used in color printing), #c842b1 hex color is composed of 0% cyan, 67% magenta, 11.5% yellow and 21.57% black.
#c842b1 color has a hue of 310.3 degrees, a saturation of 54.92% and a lightness of 52.2%.
#c842b1 hex color contains mainly RED.
The closest web safe color of #c842b1 is #cc3399
#c842b1 hex color has a decimal value of 13124273.
HEX | c842b1 | #c842b1 |
---|---|---|
RGB | 200, 66, 177 | rgb(200, 66, 177) |
RGB Percent | 78.43, 25.88, 69.41 | rgb(78.43, 25.88, 69.41) |
CMYK | 0, 67, 12, 22 | |
HSL | 310.3°, 54.92, 52.2 | hsl(310.3, 54.92%, 52.2%) |
HSV | 310.3°, 67, 78.4 |
XYZ | 33.703, 19.35, 43.554 |
---|---|
Hunter Lab | 43.989, 59.782, -27.912 |
CIE-LAB | 51.094, 64.7, -31.683 |
CIE-LCH | 51.094, 72.041, 333.909 |
CIE-LUV | 0, 67, 11.5, 21.57 |
Web Safe | cc3399 |
RGB percent of color #c842b1
CMYK percent of color #c842b1
Text with hexadecimal color #c842b1
This text has a font color of #c842b1
<p style="color:#c842b1">Text here</p>
#c842b1 Background Color
This box has a background color of #c842b1
<div style="background-color:#c842b1">Text here</div>
#c842b1 Border Color
This box has a border color of #c842b1
<div style="border: 4px solid #c842b1">Text here</div>
CSS codes
<p style="color:#c842b1">Text here</p>
<div style="background-color:#c842b1">Text here</div>
<div style="border: 4px solid #c842b1">Text here</div>
#c842b1 Color on white background
This is how a font and box color of #c842b1 will look
on a white background.
#c842b1 Color on black background
This is how a font and box color of #c842b1 hex color will look
on a black background.