Shades of Medium Violet Red #BA1798
Tints of Medium Violet Red #BA1798
RGB
CMYK
RGB Variations
Color information
#BA1798 (or 0xBA1798) is known color: Medium Violet Red. HEX triplet: BA, 17 and 98. RGB value is (186,23,152). Sum of RGB (Red+Green+Blue) = 186+23+152=361 (47% of max value = 765). Red value is 186 (73.05% from 255 or 51.52% from 361); Green value is 23 (9.38% from 255 or 6.37% from 361); Blue value is 152 (59.77% from 255 or 42.11% from 361); Max value from RGB is 186 - color contains mainly: red. Hex color #BA1798 is not a web safe color. Web safe color analog (approx): #CC0099. Inversed color of #BA1798 is #45E867. Grayscale: #565656. Windows color (decimal): -4581480 or 9967546. OLE color: 9967546.
HSL color Cylindrical-coordinate representation of color #BA1798: hue angle of 312.52º degrees, saturation: 0.78, lightness: 0.41%. HSV value (or HSB Brightness) of color is 0.73% and HSV saturation: 0.88%. Process color model (Four color, CMYK) of #BA1798 is Cyan = 0, Magento = 0.88, Yellow = 0.18 and Black (K on CMYK) = 0.27.
Color convert
| RGB | 186 | 23 | 152 | - |
| CMYK | 0 | 0.88 | 0.18 | 0.27 |
| HSL | 312.52º | 0.78% | 0.41% | - |
| HSV(B) | 312.52º | 0.88% | 0.73% | - |
| XYZ | 26.22 | 13.32 | 30.89 | - |
| YUV | 86.44 | 165 | 199.01 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 186 | 23 | 152 | 0 | 0.88 | 0.18 | 0.27 | 312.52 | 0.78 | 0.41 |
| Hex | BA | 17 | 98 | 0 | 58 | 12 | 1B | 139 | 4E | 29 |
| Octal | 272 | 27 | 230 | 0 | 130 | 22 | 33 | 471 | 116 | 51 |
| Binary | 10111010 | 10111 | 10011000 | 0 | 1011000 | 10010 | 11011 | 100111001 | 1001110 | 101001 |
Color Harmonies of #BA1798
Complementary color
Monochromatic Colors of #BA1798
Black with #BA1798
Text Example
Text Example
White with #BA1798
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #BA1798; }
p { color: rgb(186,23,152); }
H1.HeaderClassName
{
color: #BA1798;
}
.AnyTagClassName
{
color: #BA1798;
}
</style>
background-color css
<style>
a { background-color: #BA1798; }
a { background-color: rgb(186,23,152); }
div.DivClassName
{
background-color: #BA1798;
}
.BgClassName
{
background-color: #BA1798;
}
</style>
border-color css
<style>
span { border-color: #BA1798; }
span { border-color: rgb(186,23,152); }
td.TdClassName
{
border-color: #BA1798;
}
.TagClassName
{
border-color: #BA1798;
}
</style>