Shades of Medium Violet Red #D8158B
Tints of Medium Violet Red #D8158B
RGB
CMYK
RGB Variations
Color information
#D8158B (or 0xD8158B) is known color: Medium Violet Red. HEX triplet: D8, 15 and 8B. RGB value is (216,21,139). Sum of RGB (Red+Green+Blue) = 216+21+139=376 (49% of max value = 765). Red value is 216 (84.77% from 255 or 57.45% from 376); Green value is 21 (8.59% from 255 or 5.59% from 376); Blue value is 139 (54.69% from 255 or 36.97% from 376); Max value from RGB is 216 - color contains mainly: red. Hex color #D8158B is not a web safe color. Web safe color analog (approx): #CC0099. Inversed color of #D8158B is #27EA74. Grayscale: #5C5C5C. Windows color (decimal): -2615925 or 9115096. OLE color: 9115096.
HSL color Cylindrical-coordinate representation of color #D8158B: hue angle of 323.69º 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 #D8158B is Cyan = 0, Magento = 0.90, Yellow = 0.36 and Black (K on CMYK) = 0.15.
Color convert
| RGB | 216 | 21 | 139 | - |
| CMYK | 0 | 0.90 | 0.36 | 0.15 |
| HSL | 323.69º | 0.82% | 0.46% | - |
| HSV(B) | 323.69º | 0.9% | 0.85% | - |
| XYZ | 33.25 | 17 | 25.95 | - |
| YUV | 92.76 | 154.1 | 215.91 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 216 | 21 | 139 | 0 | 0.90 | 0.36 | 0.15 | 323.69 | 0.82 | 0.46 |
| Hex | D8 | 15 | 8B | 0 | 5A | 24 | F | 144 | 52 | 2E |
| Octal | 330 | 25 | 213 | 0 | 132 | 44 | 17 | 504 | 122 | 56 |
| Binary | 11011000 | 10101 | 10001011 | 0 | 1011010 | 100100 | 1111 | 101000100 | 1010010 | 101110 |
Color Harmonies of #D8158B
Complementary color
Monochromatic Colors of #D8158B
Black with #D8158B
Text Example
Text Example
White with #D8158B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #D8158B; }
p { color: rgb(216,21,139); }
H1.HeaderClassName
{
color: #D8158B;
}
.AnyTagClassName
{
color: #D8158B;
}
</style>
background-color css
<style>
a { background-color: #D8158B; }
a { background-color: rgb(216,21,139); }
div.DivClassName
{
background-color: #D8158B;
}
.BgClassName
{
background-color: #D8158B;
}
</style>
border-color css
<style>
span { border-color: #D8158B; }
span { border-color: rgb(216,21,139); }
td.TdClassName
{
border-color: #D8158B;
}
.TagClassName
{
border-color: #D8158B;
}
</style>