Shades of Medium Violet Red #D8157D
Tints of Medium Violet Red #D8157D
RGB
CMYK
RGB Variations
Color information
#D8157D (or 0xD8157D) is known color: Medium Violet Red. HEX triplet: D8, 15 and 7D. RGB value is (216,21,125). Sum of RGB (Red+Green+Blue) = 216+21+125=362 (47% of max value = 765). Red value is 216 (84.77% from 255 or 59.67% from 362); Green value is 21 (8.59% from 255 or 5.80% from 362); Blue value is 125 (49.22% from 255 or 34.53% from 362); Max value from RGB is 216 - color contains mainly: red. Hex color #D8157D is not a web safe color. Web safe color analog (approx): #CC0066. Inversed color of #D8157D is #27EA82. Grayscale: #5A5A5A. Windows color (decimal): -2615939 or 8197592. OLE color: 8197592.
HSL color Cylindrical-coordinate representation of color #D8157D: hue angle of 328º 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 #D8157D is Cyan = 0, Magento = 0.90, Yellow = 0.42 and Black (K on CMYK) = 0.15.
Color convert
| RGB | 216 | 21 | 125 | - |
| CMYK | 0 | 0.90 | 0.42 | 0.15 |
| HSL | 328º | 0.82% | 0.46% | - |
| HSV(B) | 328º | 0.9% | 0.85% | - |
| XYZ | 32.29 | 16.62 | 20.91 | - |
| YUV | 91.16 | 147.1 | 217.04 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 216 | 21 | 125 | 0 | 0.90 | 0.42 | 0.15 | 328 | 0.82 | 0.46 |
| Hex | D8 | 15 | 7D | 0 | 5A | 2A | F | 148 | 52 | 2E |
| Octal | 330 | 25 | 175 | 0 | 132 | 52 | 17 | 510 | 122 | 56 |
| Binary | 11011000 | 10101 | 1111101 | 0 | 1011010 | 101010 | 1111 | 101001000 | 1010010 | 101110 |
Color Harmonies of #D8157D
Complementary color
Monochromatic Colors of #D8157D
Black with #D8157D
Text Example
Text Example
White with #D8157D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #D8157D; }
p { color: rgb(216,21,125); }
H1.HeaderClassName
{
color: #D8157D;
}
.AnyTagClassName
{
color: #D8157D;
}
</style>
background-color css
<style>
a { background-color: #D8157D; }
a { background-color: rgb(216,21,125); }
div.DivClassName
{
background-color: #D8157D;
}
.BgClassName
{
background-color: #D8157D;
}
</style>
border-color css
<style>
span { border-color: #D8157D; }
span { border-color: rgb(216,21,125); }
td.TdClassName
{
border-color: #D8157D;
}
.TagClassName
{
border-color: #D8157D;
}
</style>