In RGB color space, #ba21a2 hex color has a red value of 186, a green value of 33 and a blue value of 162.
In CMYK color space (used in color printing), #ba21a2 hex color is composed of 0% cyan, 82.26% magenta, 12.9% yellow and 27.06% black.
#ba21a2 color has a hue of 309.4 degrees, a saturation of 69.86% and a lightness of 42.9%.
#ba21a2 hex color contains mainly RED.
The closest web safe color of #ba21a2 is #cc3399
#ba21a2 hex color has a decimal value of 12198306.
HEX | ba21a2 | #ba21a2 |
---|---|---|
RGB | 186, 33, 162 | rgb(186, 33, 162) |
RGB Percent | 72.94, 12.94, 63.53 | rgb(72.94, 12.94, 63.53) |
CMYK | 0, 82, 13, 27 | |
HSL | 309.4°, 69.86, 42.9 | hsl(309.4, 69.86%, 42.9%) |
HSV | 309.4°, 82.3, 72.9 |
XYZ | 27.315, 14.135, 35.471 |
---|---|
Hunter Lab | 37.597, 63.892, -29.62 |
CIE-LAB | 44.426, 69.501, -33.433 |
CIE-LCH | 44.426, 77.124, 334.31 |
CIE-LUV | 0, 82.26, 12.9, 27.06 |
Web Safe | cc3399 |
RGB percent of color #ba21a2
CMYK percent of color #ba21a2
Text with hexadecimal color #ba21a2
This text has a font color of #ba21a2
<p style="color:#ba21a2">Text here</p>
#ba21a2 Background Color
This box has a background color of #ba21a2
<div style="background-color:#ba21a2">Text here</div>
#ba21a2 Border Color
This box has a border color of #ba21a2
<div style="border: 4px solid #ba21a2">Text here</div>
CSS codes
<p style="color:#ba21a2">Text here</p>
<div style="background-color:#ba21a2">Text here</div>
<div style="border: 4px solid #ba21a2">Text here</div>
#ba21a2 Color on white background
This is how a font and box color of #ba21a2 will look
on a white background.
#ba21a2 Color on black background
This is how a font and box color of #ba21a2 hex color will look
on a black background.