Shades of Medium Violet Red #D5157A
Tints of Medium Violet Red #D5157A
RGB
CMYK
RGB Variations
Color information
#D5157A (or 0xD5157A) is known color: Medium Violet Red. HEX triplet: D5, 15 and 7A. RGB value is (213,21,122). Sum of RGB (Red+Green+Blue) = 213+21+122=356 (47% of max value = 765). Red value is 213 (83.59% from 255 or 59.83% from 356); Green value is 21 (8.59% from 255 or 5.90% from 356); Blue value is 122 (48.05% from 255 or 34.27% from 356); Max value from RGB is 213 - color contains mainly: red. Hex color #D5157A is not a web safe color. Web safe color analog (approx): #CC0066. Inversed color of #D5157A is #2AEA85. Grayscale: #595959. Windows color (decimal): -2812550 or 8000981. OLE color: 8000981.
HSL color Cylindrical-coordinate representation of color #D5157A: hue angle of 328.44º 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 #D5157A is Cyan = 0, Magento = 0.90, Yellow = 0.43 and Black (K on CMYK) = 0.16.
Color convert
| RGB | 213 | 21 | 122 | - |
| CMYK | 0 | 0.90 | 0.43 | 0.16 |
| HSL | 328.44º | 0.82% | 0.46% | - |
| HSV(B) | 328.44º | 0.9% | 0.84% | - |
| XYZ | 31.22 | 16.09 | 19.87 | - |
| YUV | 89.92 | 146.11 | 215.79 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 213 | 21 | 122 | 0 | 0.90 | 0.43 | 0.16 | 328.44 | 0.82 | 0.46 |
| Hex | D5 | 15 | 7A | 0 | 5A | 2B | 10 | 148 | 52 | 2E |
| Octal | 325 | 25 | 172 | 0 | 132 | 53 | 20 | 510 | 122 | 56 |
| Binary | 11010101 | 10101 | 1111010 | 0 | 1011010 | 101011 | 10000 | 101001000 | 1010010 | 101110 |
Color Harmonies of #D5157A
Complementary color
Monochromatic Colors of #D5157A
Black with #D5157A
Text Example
Text Example
White with #D5157A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #D5157A; }
p { color: rgb(213,21,122); }
H1.HeaderClassName
{
color: #D5157A;
}
.AnyTagClassName
{
color: #D5157A;
}
</style>
background-color css
<style>
a { background-color: #D5157A; }
a { background-color: rgb(213,21,122); }
div.DivClassName
{
background-color: #D5157A;
}
.BgClassName
{
background-color: #D5157A;
}
</style>
border-color css
<style>
span { border-color: #D5157A; }
span { border-color: rgb(213,21,122); }
td.TdClassName
{
border-color: #D5157A;
}
.TagClassName
{
border-color: #D5157A;
}
</style>