In RGB color space, #ba51a6 hex color has a red value of 186, a green value of 81 and a blue value of 166.
In CMYK color space (used in color printing), #ba51a6 hex color is composed of 0% cyan, 56.45% magenta, 10.75% yellow and 27.06% black.
#ba51a6 color has a hue of 311.4 degrees, a saturation of 43.21% and a lightness of 52.4%.
#ba51a6 hex color contains mainly RED.
The closest web safe color of #ba51a6 is #cc6699
#ba51a6 hex color has a decimal value of 12210598.
HEX | ba51a6 | #ba51a6 |
---|---|---|
RGB | 186, 81, 166 | rgb(186, 81, 166) |
RGB Percent | 72.94, 31.76, 65.1 | rgb(72.94, 31.76, 65.1) |
CMYK | 0, 56, 11, 27 | |
HSL | 311.4°, 43.21, 52.4 | hsl(311.4, 43.21%, 52.4%) |
HSV | 311.4°, 56.5, 72.9 |
XYZ | 30.075, 19.077, 38.174 |
---|---|
Hunter Lab | 43.677, 46.475, -21.246 |
CIE-LAB | 50.777, 52.883, -25.893 |
CIE-LCH | 50.777, 58.882, 333.912 |
CIE-LUV | 0, 56.45, 10.75, 27.06 |
Web Safe | cc6699 |
RGB percent of color #ba51a6
CMYK percent of color #ba51a6
Text with hexadecimal color #ba51a6
This text has a font color of #ba51a6
<p style="color:#ba51a6">Text here</p>
#ba51a6 Background Color
This box has a background color of #ba51a6
<div style="background-color:#ba51a6">Text here</div>
#ba51a6 Border Color
This box has a border color of #ba51a6
<div style="border: 4px solid #ba51a6">Text here</div>
CSS codes
<p style="color:#ba51a6">Text here</p>
<div style="background-color:#ba51a6">Text here</div>
<div style="border: 4px solid #ba51a6">Text here</div>
#ba51a6 Color on white background
This is how a font and box color of #ba51a6 will look
on a white background.
#ba51a6 Color on black background
This is how a font and box color of #ba51a6 hex color will look
on a black background.