#51212D color
The hex color #51212D is a dark, desaturated red.
In the RGB color model it is made of 31.8% red, 12.9% green and 17.6% blue (81, 33, 45).
Its hue angle is 345°, with 42% saturation and 22% lightness. For print, the CMYK equivalent is 0% cyan, 59% magenta, 44% yellow and 68% black.
The closest named color is Drops of God (#571E2F), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.08:1).
#51212D color codes
| HEX | #51212D | |
|---|---|---|
| RGB | rgb(81, 33, 45) | |
| RGB percent | rgb(31.8%, 12.9%, 17.6%) | |
| HSL | hsl(345, 42%, 22%) | |
| HSV / HSB | hsv(345, 59%, 32%) | |
| CMYK | cmyk(0%, 59%, 44%, 68%) | |
| CIE LAB | lab(20.15, 23.86, 3.06) | |
| CIE LCH | lch(20.15, 24.05, 7.31) | |
| CIE XYZ | xyz(4.411, 3.027, 2.834) | |
| Decimal | 5316909 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51212D, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #51212D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.61:1 | Fail | Fail | Fail |
| Sample text | 13.08:1 | Pass | Pass | Pass |
| #51212D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.08:1 | Pass | Pass | Pass |
| Sample text | 1.61:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #51212D looks to people with the most common types of color vision deficiency.
#2a2b2dProtanopia
no red cones#36342cDeuteranopia
no green cones#581c25Tritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #51212d; }
.text { color: #51212d; }
.border { border: 2px solid #51212d; }
.transparent { background-color: rgb(81 33 45 / 50%); }
.gradient { background: linear-gradient(to right, #51212d, #512d21); }
Similar colors
#571e2fDrops of God#441122What We Do in the Shadows#522426Lonestar#44232fCastro#3e1825Black-Hearted#3c1421Chocolate Kiss#492a34Wine Tasting#5f2c2fJazz
Closest common color name: Wine.
Questions
- What color is #51212D?
- #51212D is a dark, desaturated red, closest to the named color Drops of God. It belongs to the red family of colors.
- What is the RGB value of #51212D?
- The RGB value is 81, 33, 45: 81 red, 33 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #51212D?
- The complementary color is #215145, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51212D?
- White text. Black text has a contrast ratio of 1.61:1 and white text 13.08:1. WCAG asks for at least 4.5:1 for normal text.