Shades of Mahogany #D52A31
Tints of Mahogany #D52A31
RGB
CMYK
RGB Variations
Color information
#D52A31 (or 0xD52A31) is known color: Mahogany. HEX triplet: D5, 2A and 31. RGB value is (213,42,49). Sum of RGB (Red+Green+Blue) = 213+42+49=304 (40% of max value = 765). Red value is 213 (83.59% from 255 or 70.07% from 304); Green value is 42 (16.80% from 255 or 13.82% from 304); Blue value is 49 (19.53% from 255 or 16.12% from 304); Max value from RGB is 213 - color contains mainly: red. Hex color #D52A31 is not a web safe color. Web safe color analog (approx): #CC3333. Inversed color of #D52A31 is #2AD5CE. Grayscale: #5E5E5E. Windows color (decimal): -2807247 or 3222229. OLE color: 3222229.
HSL color Cylindrical-coordinate representation of color #D52A31: hue angle of 357.54º degrees, saturation: 0.67, lightness: 0.5%. HSV value (or HSB Brightness) of color is 0.84% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #D52A31 is Cyan = 0, Magento = 0.80, Yellow = 0.77 and Black (K on CMYK) = 0.16.
Color convert
| RGB | 213 | 42 | 49 | - |
| CMYK | 0 | 0.80 | 0.77 | 0.16 |
| HSL | 357.54º | 0.67% | 0.5% | - |
| HSV(B) | 357.54º | 0.8% | 0.84% | - |
| XYZ | 28.82 | 16.02 | 4.48 | - |
| YUV | 93.93 | 102.65 | 212.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 213 | 42 | 49 | 0 | 0.80 | 0.77 | 0.16 | 357.54 | 0.67 | 0.5 |
| Hex | D5 | 2A | 31 | 0 | 50 | 4D | 10 | 166 | 43 | 32 |
| Octal | 325 | 52 | 61 | 0 | 120 | 115 | 20 | 546 | 103 | 62 |
| Binary | 11010101 | 101010 | 110001 | 0 | 1010000 | 1001101 | 10000 | 101100110 | 1000011 | 110010 |
Color Harmonies of #D52A31
Complementary color
Monochromatic Colors of #D52A31
Black with #D52A31
Text Example
Text Example
White with #D52A31
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #D52A31; }
p { color: rgb(213,42,49); }
H1.HeaderClassName
{
color: #D52A31;
}
.AnyTagClassName
{
color: #D52A31;
}
</style>
background-color css
<style>
a { background-color: #D52A31; }
a { background-color: rgb(213,42,49); }
div.DivClassName
{
background-color: #D52A31;
}
.BgClassName
{
background-color: #D52A31;
}
</style>
border-color css
<style>
span { border-color: #D52A31; }
span { border-color: rgb(213,42,49); }
td.TdClassName
{
border-color: #D52A31;
}
.TagClassName
{
border-color: #D52A31;
}
</style>