In RGB color space, #ba21a8 hex color has a red value of 186, a green value of 33 and a blue value of 168.
In CMYK color space (used in color printing), #ba21a8 hex color is composed of 0% cyan, 82.26% magenta, 9.68% yellow and 27.06% black.
#ba21a8 color has a hue of 307.1 degrees, a saturation of 69.86% and a lightness of 42.9%.
#ba21a8 hex color contains mainly RED.
The closest web safe color of #ba21a8 is #cc3399
#ba21a8 hex color has a decimal value of 12198312.
HEX | ba21a8 | #ba21a8 |
---|---|---|
RGB | 186, 33, 168 | rgb(186, 33, 168) |
RGB Percent | 72.94, 12.94, 65.88 | rgb(72.94, 12.94, 65.88) |
CMYK | 0, 82, 10, 27 | |
HSL | 307.1°, 69.86, 42.9 | hsl(307.1, 69.86%, 42.9%) |
HSV | 307.1°, 82.3, 72.9 |
XYZ | 27.861, 14.354, 38.348 |
---|---|
Hunter Lab | 37.887, 64.963, -33.491 |
CIE-LAB | 44.736, 70.346, -36.522 |
CIE-LCH | 44.736, 79.262, 332.563 |
CIE-LUV | 0, 82.26, 9.68, 27.06 |
Web Safe | cc3399 |
RGB percent of color #ba21a8
CMYK percent of color #ba21a8
Text with hexadecimal color #ba21a8
This text has a font color of #ba21a8
<p style="color:#ba21a8">Text here</p>
#ba21a8 Background Color
This box has a background color of #ba21a8
<div style="background-color:#ba21a8">Text here</div>
#ba21a8 Border Color
This box has a border color of #ba21a8
<div style="border: 4px solid #ba21a8">Text here</div>
CSS codes
<p style="color:#ba21a8">Text here</p>
<div style="background-color:#ba21a8">Text here</div>
<div style="border: 4px solid #ba21a8">Text here</div>
#ba21a8 Color on white background
This is how a font and box color of #ba21a8 will look
on a white background.
#ba21a8 Color on black background
This is how a font and box color of #ba21a8 hex color will look
on a black background.