Shades of Medium Violet Red #D8157F
Tints of Medium Violet Red #D8157F
RGB
CMYK
RGB Variations
Color information
#D8157F (or 0xD8157F) is known color: Medium Violet Red. HEX triplet: D8, 15 and 7F. RGB value is (216,21,127). Sum of RGB (Red+Green+Blue) = 216+21+127=364 (48% of max value = 765). Red value is 216 (84.77% from 255 or 59.34% from 364); Green value is 21 (8.59% from 255 or 5.77% from 364); Blue value is 127 (50% from 255 or 34.89% from 364); Max value from RGB is 216 - color contains mainly: red. Hex color #D8157F is not a web safe color. Web safe color analog (approx): #CC0066. Inversed color of #D8157F is #27EA80. Grayscale: #5B5B5B. Windows color (decimal): -2615937 or 8328664. OLE color: 8328664.
HSL color Cylindrical-coordinate representation of color #D8157F: hue angle of 327.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 #D8157F is Cyan = 0, Magento = 0.90, Yellow = 0.41 and Black (K on CMYK) = 0.15.
Color convert
| RGB | 216 | 21 | 127 | - |
| CMYK | 0 | 0.90 | 0.41 | 0.15 |
| HSL | 327.38º | 0.82% | 0.46% | - |
| HSV(B) | 327.38º | 0.9% | 0.85% | - |
| XYZ | 32.42 | 16.67 | 21.59 | - |
| YUV | 91.39 | 148.1 | 216.88 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 216 | 21 | 127 | 0 | 0.90 | 0.41 | 0.15 | 327.38 | 0.82 | 0.46 |
| Hex | D8 | 15 | 7F | 0 | 5A | 29 | F | 147 | 52 | 2E |
| Octal | 330 | 25 | 177 | 0 | 132 | 51 | 17 | 507 | 122 | 56 |
| Binary | 11011000 | 10101 | 1111111 | 0 | 1011010 | 101001 | 1111 | 101000111 | 1010010 | 101110 |
Color Harmonies of #D8157F
Complementary color
Monochromatic Colors of #D8157F
Black with #D8157F
Text Example
Text Example
White with #D8157F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #D8157F; }
p { color: rgb(216,21,127); }
H1.HeaderClassName
{
color: #D8157F;
}
.AnyTagClassName
{
color: #D8157F;
}
</style>
background-color css
<style>
a { background-color: #D8157F; }
a { background-color: rgb(216,21,127); }
div.DivClassName
{
background-color: #D8157F;
}
.BgClassName
{
background-color: #D8157F;
}
</style>
border-color css
<style>
span { border-color: #D8157F; }
span { border-color: rgb(216,21,127); }
td.TdClassName
{
border-color: #D8157F;
}
.TagClassName
{
border-color: #D8157F;
}
</style>