In RGB color space, #ba21c5 hex color has a red value of 186, a green value of 33 and a blue value of 197.
In CMYK color space (used in color printing), #ba21c5 hex color is composed of 5.58% cyan, 83.25% magenta, 0% yellow and 22.75% black.
#ba21c5 color has a hue of 296 degrees, a saturation of 71.3% and a lightness of 45.1%.
#ba21c5 hex color contains mainly BLUE.
The closest web safe color of #ba21c5 is #cc33cc
#ba21c5 hex color has a decimal value of 12198341.
HEX | ba21c5 | #ba21c5 |
---|---|---|
RGB | 186, 33, 197 | rgb(186, 33, 197) |
RGB Percent | 72.94, 12.94, 77.25 | rgb(72.94, 12.94, 77.25) |
CMYK | 6, 83, 0, 23 | |
HSL | 296°, 71.3, 45.1 | hsl(296, 71.3%, 45.1%) |
HSV | 296°, 83.2, 77.3 |
XYZ | 30.872, 15.558, 54.199 |
---|---|
Hunter Lab | 39.444, 70.683, -53.859 |
CIE-LAB | 46.389, 74.781, -50.937 |
CIE-LCH | 46.389, 90.481, 325.739 |
CIE-LUV | 5.58, 83.25, 0, 22.75 |
Web Safe | cc33cc |
RGB percent of color #ba21c5
CMYK percent of color #ba21c5
Text with hexadecimal color #ba21c5
This text has a font color of #ba21c5
<p style="color:#ba21c5">Text here</p>
#ba21c5 Background Color
This box has a background color of #ba21c5
<div style="background-color:#ba21c5">Text here</div>
#ba21c5 Border Color
This box has a border color of #ba21c5
<div style="border: 4px solid #ba21c5">Text here</div>
CSS codes
<p style="color:#ba21c5">Text here</p>
<div style="background-color:#ba21c5">Text here</div>
<div style="border: 4px solid #ba21c5">Text here</div>
#ba21c5 Color on white background
This is how a font and box color of #ba21c5 will look
on a white background.
#ba21c5 Color on black background
This is how a font and box color of #ba21c5 hex color will look
on a black background.