Shades of Medium Violet Red #D40C8C
Tints of Medium Violet Red #D40C8C
RGB
CMYK
RGB Variations
Color information
#D40C8C (or 0xD40C8C) is known color: Medium Violet Red. HEX triplet: D4, 0C and 8C. RGB value is (212,12,140). Sum of RGB (Red+Green+Blue) = 212+12+140=364 (48% of max value = 765). Red value is 212 (83.20% from 255 or 58.24% from 364); Green value is 12 (5.08% from 255 or 3.30% from 364); Blue value is 140 (55.08% from 255 or 38.46% from 364); Max value from RGB is 212 - color contains mainly: red. Hex color #D40C8C is not a web safe color. Web safe color analog (approx): #CC0099. Inversed color of #D40C8C is #2BF373. Grayscale: #565656. Windows color (decimal): -2880372 or 9178324. OLE color: 9178324.
HSL color Cylindrical-coordinate representation of color #D40C8C: hue angle of 321.6º degrees, saturation: 0.89, lightness: 0.44%. HSV value (or HSB Brightness) of color is 0.83% and HSV saturation: 0.94%. Process color model (Four color, CMYK) of #D40C8C is Cyan = 0, Magento = 0.94, Yellow = 0.34 and Black (K on CMYK) = 0.17.
Color convert
| RGB | 212 | 12 | 140 | - |
| CMYK | 0 | 0.94 | 0.34 | 0.17 |
| HSL | 321.6º | 0.89% | 0.44% | - |
| HSV(B) | 321.6º | 0.94% | 0.83% | - |
| XYZ | 32.02 | 16.15 | 26.24 | - |
| YUV | 86.39 | 158.26 | 217.59 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 212 | 12 | 140 | 0 | 0.94 | 0.34 | 0.17 | 321.6 | 0.89 | 0.44 |
| Hex | D4 | C | 8C | 0 | 5E | 22 | 11 | 142 | 59 | 2C |
| Octal | 324 | 14 | 214 | 0 | 136 | 42 | 21 | 502 | 131 | 54 |
| Binary | 11010100 | 1100 | 10001100 | 0 | 1011110 | 100010 | 10001 | 101000010 | 1011001 | 101100 |
Color Harmonies of #D40C8C
Complementary color
Monochromatic Colors of #D40C8C
Black with #D40C8C
Text Example
Text Example
White with #D40C8C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #D40C8C; }
p { color: rgb(212,12,140); }
H1.HeaderClassName
{
color: #D40C8C;
}
.AnyTagClassName
{
color: #D40C8C;
}
</style>
background-color css
<style>
a { background-color: #D40C8C; }
a { background-color: rgb(212,12,140); }
div.DivClassName
{
background-color: #D40C8C;
}
.BgClassName
{
background-color: #D40C8C;
}
</style>
border-color css
<style>
span { border-color: #D40C8C; }
span { border-color: rgb(212,12,140); }
td.TdClassName
{
border-color: #D40C8C;
}
.TagClassName
{
border-color: #D40C8C;
}
</style>