In RGB color space, #ba21a5 hex color has a red value of 186, a green value of 33 and a blue value of 165.
In CMYK color space (used in color printing), #ba21a5 hex color is composed of 0% cyan, 82.26% magenta, 11.29% yellow and 27.06% black.
#ba21a5 color has a hue of 308.2 degrees, a saturation of 69.86% and a lightness of 42.9%.
#ba21a5 hex color contains mainly RED.
The closest web safe color of #ba21a5 is #cc3399
#ba21a5 hex color has a decimal value of 12198309.
HEX | ba21a5 | #ba21a5 |
---|---|---|
RGB | 186, 33, 165 | rgb(186, 33, 165) |
RGB Percent | 72.94, 12.94, 64.71 | rgb(72.94, 12.94, 64.71) |
CMYK | 0, 82, 11, 27 | |
HSL | 308.2°, 69.86, 42.9 | hsl(308.2, 69.86%, 42.9%) |
HSV | 308.2°, 82.3, 72.9 |
XYZ | 27.585, 14.243, 36.893 |
---|---|
Hunter Lab | 37.74, 64.425, -31.542 |
CIE-LAB | 44.579, 69.923, -34.983 |
CIE-LCH | 44.579, 78.186, 333.421 |
CIE-LUV | 0, 82.26, 11.29, 27.06 |
Web Safe | cc3399 |
RGB percent of color #ba21a5
CMYK percent of color #ba21a5
Text with hexadecimal color #ba21a5
This text has a font color of #ba21a5
<p style="color:#ba21a5">Text here</p>
#ba21a5 Background Color
This box has a background color of #ba21a5
<div style="background-color:#ba21a5">Text here</div>
#ba21a5 Border Color
This box has a border color of #ba21a5
<div style="border: 4px solid #ba21a5">Text here</div>
CSS codes
<p style="color:#ba21a5">Text here</p>
<div style="background-color:#ba21a5">Text here</div>
<div style="border: 4px solid #ba21a5">Text here</div>
#ba21a5 Color on white background
This is how a font and box color of #ba21a5 will look
on a white background.
#ba21a5 Color on black background
This is how a font and box color of #ba21a5 hex color will look
on a black background.