In RGB color space, #8a1f52 hex color has a red value of 138, a green value of 31 and a blue value of 82.
In CMYK color space (used in color printing), #8a1f52 hex color is composed of 0% cyan, 77.54% magenta, 40.58% yellow and 45.88% black.
#8a1f52 color has a hue of 331.4 degrees, a saturation of 63.31% and a lightness of 33.1%.
#8a1f52 hex color contains mainly RED.
The closest web safe color of #8a1f52 is #993366
#8a1f52 hex color has a decimal value of 9051986.
HEX | 8a1f52 | #8a1f52 |
---|---|---|
RGB | 138, 31, 82 | rgb(138, 31, 82) |
RGB Percent | 54.12, 12.16, 32.16 | rgb(54.12, 12.16, 32.16) |
CMYK | 0, 78, 41, 46 | |
HSL | 331.4°, 63.31, 33.1 | hsl(331.4, 63.31%, 33.1%) |
HSV | 331.4°, 77.5, 54.1 |
XYZ | 12.494, 6.992, 8.674 |
---|---|
Hunter Lab | 26.442, 38.067, -0.939 |
CIE-LAB | 31.789, 48.243, -3.662 |
CIE-LCH | 31.789, 48.382, 355.659 |
CIE-LUV | 0, 77.54, 40.58, 45.88 |
Web Safe | 993366 |
RGB percent of color #8a1f52
CMYK percent of color #8a1f52
Text with hexadecimal color #8a1f52
This text has a font color of #8a1f52
<p style="color:#8a1f52">Text here</p>
#8a1f52 Background Color
This box has a background color of #8a1f52
<div style="background-color:#8a1f52">Text here</div>
#8a1f52 Border Color
This box has a border color of #8a1f52
<div style="border: 4px solid #8a1f52">Text here</div>
CSS codes
<p style="color:#8a1f52">Text here</p>
<div style="background-color:#8a1f52">Text here</div>
<div style="border: 4px solid #8a1f52">Text here</div>
#8a1f52 Color on white background
This is how a font and box color of #8a1f52 will look
on a white background.
#8a1f52 Color on black background
This is how a font and box color of #8a1f52 hex color will look
on a black background.