Shades of Medium Violet Red #D5157E
Tints of Medium Violet Red #D5157E
RGB
CMYK
RGB Variations
Color information
#D5157E (or 0xD5157E) is known color: Medium Violet Red. HEX triplet: D5, 15 and 7E. RGB value is (213,21,126). Sum of RGB (Red+Green+Blue) = 213+21+126=360 (47% of max value = 765). Red value is 213 (83.59% from 255 or 59.17% from 360); Green value is 21 (8.59% from 255 or 5.83% from 360); Blue value is 126 (49.61% from 255 or 35% from 360); Max value from RGB is 213 - color contains mainly: red. Hex color #D5157E is not a web safe color. Web safe color analog (approx): #CC0066. Inversed color of #D5157E is #2AEA81. Grayscale: #5A5A5A. Windows color (decimal): -2812546 or 8263125. OLE color: 8263125.
HSL color Cylindrical-coordinate representation of color #D5157E: hue angle of 327.19º 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 #D5157E is Cyan = 0, Magento = 0.90, Yellow = 0.41 and Black (K on CMYK) = 0.16.
Color convert
| RGB | 213 | 21 | 126 | - |
| CMYK | 0 | 0.90 | 0.41 | 0.16 |
| HSL | 327.19º | 0.82% | 0.46% | - |
| HSV(B) | 327.19º | 0.9% | 0.84% | - |
| XYZ | 31.47 | 16.19 | 21.2 | - |
| YUV | 90.38 | 148.11 | 215.46 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 213 | 21 | 126 | 0 | 0.90 | 0.41 | 0.16 | 327.19 | 0.82 | 0.46 |
| Hex | D5 | 15 | 7E | 0 | 5A | 29 | 10 | 147 | 52 | 2E |
| Octal | 325 | 25 | 176 | 0 | 132 | 51 | 20 | 507 | 122 | 56 |
| Binary | 11010101 | 10101 | 1111110 | 0 | 1011010 | 101001 | 10000 | 101000111 | 1010010 | 101110 |
Color Harmonies of #D5157E
Complementary color
Monochromatic Colors of #D5157E
Black with #D5157E
Text Example
Text Example
White with #D5157E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #D5157E; }
p { color: rgb(213,21,126); }
H1.HeaderClassName
{
color: #D5157E;
}
.AnyTagClassName
{
color: #D5157E;
}
</style>
background-color css
<style>
a { background-color: #D5157E; }
a { background-color: rgb(213,21,126); }
div.DivClassName
{
background-color: #D5157E;
}
.BgClassName
{
background-color: #D5157E;
}
</style>
border-color css
<style>
span { border-color: #D5157E; }
span { border-color: rgb(213,21,126); }
td.TdClassName
{
border-color: #D5157E;
}
.TagClassName
{
border-color: #D5157E;
}
</style>