Shades of Medium Violet Red #D8158C
Tints of Medium Violet Red #D8158C
RGB
CMYK
RGB Variations
Color information
#D8158C (or 0xD8158C) is known color: Medium Violet Red. HEX triplet: D8, 15 and 8C. RGB value is (216,21,140). Sum of RGB (Red+Green+Blue) = 216+21+140=377 (49% of max value = 765). Red value is 216 (84.77% from 255 or 57.29% from 377); Green value is 21 (8.59% from 255 or 5.57% from 377); Blue value is 140 (55.08% from 255 or 37.14% from 377); Max value from RGB is 216 - color contains mainly: red. Hex color #D8158C is not a web safe color. Web safe color analog (approx): #CC0099. Inversed color of #D8158C is #27EA73. Grayscale: #5C5C5C. Windows color (decimal): -2615924 or 9180632. OLE color: 9180632.
HSL color Cylindrical-coordinate representation of color #D8158C: hue angle of 323.38º degrees, saturation: 0.82, lightness: 0.46%. HSV value (or HSB Brightness) of color is 0.85% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #D8158C is Cyan = 0, Magento = 0.90, Yellow = 0.35 and Black (K on CMYK) = 0.15.
Color convert
| RGB | 216 | 21 | 140 | - |
| CMYK | 0 | 0.90 | 0.35 | 0.15 |
| HSL | 323.38º | 0.82% | 0.46% | - |
| HSV(B) | 323.38º | 0.9% | 0.85% | - |
| XYZ | 33.32 | 17.03 | 26.34 | - |
| YUV | 92.87 | 154.6 | 215.82 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 216 | 21 | 140 | 0 | 0.90 | 0.35 | 0.15 | 323.38 | 0.82 | 0.46 |
| Hex | D8 | 15 | 8C | 0 | 5A | 23 | F | 143 | 52 | 2E |
| Octal | 330 | 25 | 214 | 0 | 132 | 43 | 17 | 503 | 122 | 56 |
| Binary | 11011000 | 10101 | 10001100 | 0 | 1011010 | 100011 | 1111 | 101000011 | 1010010 | 101110 |
Color Harmonies of #D8158C
Complementary color
Monochromatic Colors of #D8158C
Black with #D8158C
Text Example
Text Example
White with #D8158C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #D8158C; }
p { color: rgb(216,21,140); }
H1.HeaderClassName
{
color: #D8158C;
}
.AnyTagClassName
{
color: #D8158C;
}
</style>
background-color css
<style>
a { background-color: #D8158C; }
a { background-color: rgb(216,21,140); }
div.DivClassName
{
background-color: #D8158C;
}
.BgClassName
{
background-color: #D8158C;
}
</style>
border-color css
<style>
span { border-color: #D8158C; }
span { border-color: rgb(216,21,140); }
td.TdClassName
{
border-color: #D8158C;
}
.TagClassName
{
border-color: #D8158C;
}
</style>