In RGB color space, #ba21b8 hex color has a red value of 186, a green value of 33 and a blue value of 184.
In CMYK color space (used in color printing), #ba21b8 hex color is composed of 0% cyan, 82.26% magenta, 1.08% yellow and 27.06% black.
#ba21b8 color has a hue of 300.8 degrees, a saturation of 69.86% and a lightness of 42.9%.
#ba21b8 hex color contains mainly RED.
The closest web safe color of #ba21b8 is #cc33cc
#ba21b8 hex color has a decimal value of 12198328.
HEX | ba21b8 | #ba21b8 |
---|---|---|
RGB | 186, 33, 184 | rgb(186, 33, 184) |
RGB Percent | 72.94, 12.94, 72.16 | rgb(72.94, 12.94, 72.16) |
CMYK | 0, 82, 1, 27 | |
HSL | 300.8°, 69.86, 42.9 | hsl(300.8, 69.86%, 42.9%) |
HSV | 300.8°, 82.3, 72.9 |
XYZ | 29.445, 14.988, 46.688 |
---|---|
Hunter Lab | 38.714, 68.012, -44.401 |
CIE-LAB | 45.618, 72.726, -44.578 |
CIE-LCH | 45.618, 85.301, 328.493 |
CIE-LUV | 0, 82.26, 1.08, 27.06 |
Web Safe | cc33cc |
RGB percent of color #ba21b8
CMYK percent of color #ba21b8
Text with hexadecimal color #ba21b8
This text has a font color of #ba21b8
<p style="color:#ba21b8">Text here</p>
#ba21b8 Background Color
This box has a background color of #ba21b8
<div style="background-color:#ba21b8">Text here</div>
#ba21b8 Border Color
This box has a border color of #ba21b8
<div style="border: 4px solid #ba21b8">Text here</div>
CSS codes
<p style="color:#ba21b8">Text here</p>
<div style="background-color:#ba21b8">Text here</div>
<div style="border: 4px solid #ba21b8">Text here</div>
#ba21b8 Color on white background
This is how a font and box color of #ba21b8 will look
on a white background.
#ba21b8 Color on black background
This is how a font and box color of #ba21b8 hex color will look
on a black background.