Shades of Medium Violet Red #D7158F
Tints of Medium Violet Red #D7158F
RGB
CMYK
RGB Variations
Color information
#D7158F (or 0xD7158F) is known color: Medium Violet Red. HEX triplet: D7, 15 and 8F. RGB value is (215,21,143). Sum of RGB (Red+Green+Blue) = 215+21+143=379 (50% of max value = 765). Red value is 215 (84.38% from 255 or 56.73% from 379); Green value is 21 (8.59% from 255 or 5.54% from 379); Blue value is 143 (56.25% from 255 or 37.73% from 379); Max value from RGB is 215 - color contains mainly: red. Hex color #D7158F is not a web safe color. Web safe color analog (approx): #CC0099. Inversed color of #D7158F is #28EA70. Grayscale: #5C5C5C. Windows color (decimal): -2681457 or 9377239. OLE color: 9377239.
HSL color Cylindrical-coordinate representation of color #D7158F: hue angle of 322.27º degrees, saturation: 0.82, lightness: 0.46%. HSV value (or HSB Brightness) of color is 0.84% and HSV saturation: 0.9%. Process color model (Four color, CMYK) of #D7158F is Cyan = 0, Magento = 0.90, Yellow = 0.33 and Black (K on CMYK) = 0.16.
Color convert
| RGB | 215 | 21 | 143 | - |
| CMYK | 0 | 0.90 | 0.33 | 0.16 |
| HSL | 322.27º | 0.82% | 0.46% | - |
| HSV(B) | 322.27º | 0.9% | 0.84% | - |
| XYZ | 33.25 | 16.97 | 27.51 | - |
| YUV | 92.91 | 156.27 | 215.08 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 215 | 21 | 143 | 0 | 0.90 | 0.33 | 0.16 | 322.27 | 0.82 | 0.46 |
| Hex | D7 | 15 | 8F | 0 | 5A | 21 | 10 | 142 | 52 | 2E |
| Octal | 327 | 25 | 217 | 0 | 132 | 41 | 20 | 502 | 122 | 56 |
| Binary | 11010111 | 10101 | 10001111 | 0 | 1011010 | 100001 | 10000 | 101000010 | 1010010 | 101110 |
Color Harmonies of #D7158F
Complementary color
Monochromatic Colors of #D7158F
Black with #D7158F
Text Example
Text Example
White with #D7158F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #D7158F; }
p { color: rgb(215,21,143); }
H1.HeaderClassName
{
color: #D7158F;
}
.AnyTagClassName
{
color: #D7158F;
}
</style>
background-color css
<style>
a { background-color: #D7158F; }
a { background-color: rgb(215,21,143); }
div.DivClassName
{
background-color: #D7158F;
}
.BgClassName
{
background-color: #D7158F;
}
</style>
border-color css
<style>
span { border-color: #D7158F; }
span { border-color: rgb(215,21,143); }
td.TdClassName
{
border-color: #D7158F;
}
.TagClassName
{
border-color: #D7158F;
}
</style>