Shades of Medium Violet Red #BA21A2
Tints of Medium Violet Red #BA21A2
RGB
CMYK
RGB Variations
Color information
#BA21A2 (or 0xBA21A2) is known color: Medium Violet Red. HEX triplet: BA, 21 and A2. RGB value is (186,33,162). Sum of RGB (Red+Green+Blue) = 186+33+162=381 (50% of max value = 765). Red value is 186 (73.05% from 255 or 48.82% from 381); Green value is 33 (13.28% from 255 or 8.66% from 381); Blue value is 162 (63.67% from 255 or 42.52% from 381); Max value from RGB is 186 - color contains mainly: red. Hex color #BA21A2 is not a web safe color. Web safe color analog (approx): #CC3399. Inversed color of #BA21A2 is #45DE5D. Grayscale: #5D5D5D. Windows color (decimal): -4578910 or 10625466. OLE color: 10625466.
HSL color Cylindrical-coordinate representation of color #BA21A2: hue angle of 309.41º degrees, saturation: 0.7, lightness: 0.43%. HSV value (or HSB Brightness) of color is 0.73% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #BA21A2 is Cyan = 0, Magento = 0.82, Yellow = 0.13 and Black (K on CMYK) = 0.27.
Color convert
| RGB | 186 | 33 | 162 | - |
| CMYK | 0 | 0.82 | 0.13 | 0.27 |
| HSL | 309.41º | 0.7% | 0.43% | - |
| HSV(B) | 309.41º | 0.82% | 0.73% | - |
| XYZ | 27.32 | 14.14 | 35.47 | - |
| YUV | 93.45 | 166.69 | 194.01 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 186 | 33 | 162 | 0 | 0.82 | 0.13 | 0.27 | 309.41 | 0.7 | 0.43 |
| Hex | BA | 21 | A2 | 0 | 52 | D | 1B | 135 | 46 | 2B |
| Octal | 272 | 41 | 242 | 0 | 122 | 15 | 33 | 465 | 106 | 53 |
| Binary | 10111010 | 100001 | 10100010 | 0 | 1010010 | 1101 | 11011 | 100110101 | 1000110 | 101011 |
Color Harmonies of #BA21A2
Complementary color
Monochromatic Colors of #BA21A2
Black with #BA21A2
Text Example
Text Example
White with #BA21A2
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #BA21A2; }
p { color: rgb(186,33,162); }
H1.HeaderClassName
{
color: #BA21A2;
}
.AnyTagClassName
{
color: #BA21A2;
}
</style>
background-color css
<style>
a { background-color: #BA21A2; }
a { background-color: rgb(186,33,162); }
div.DivClassName
{
background-color: #BA21A2;
}
.BgClassName
{
background-color: #BA21A2;
}
</style>
border-color css
<style>
span { border-color: #BA21A2; }
span { border-color: rgb(186,33,162); }
td.TdClassName
{
border-color: #BA21A2;
}
.TagClassName
{
border-color: #BA21A2;
}
</style>