#51312F color
The hex color #51312F is a dark, desaturated red.
In the RGB color model it is made of 31.8% red, 19.2% green and 18.4% blue (81, 49, 47).
Its hue angle is 4°, with 27% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 40% magenta, 42% yellow and 68% black.
The closest named color is Espresso (#4E312D), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.47:1).
#51312F color codes
| HEX | #51312F | |
|---|---|---|
| RGB | rgb(81, 49, 47) | |
| RGB percent | rgb(31.8%, 19.2%, 18.4%) | |
| HSL | hsl(4, 27%, 25%) | |
| HSV / HSB | hsv(4, 42%, 32%) | |
| CMYK | cmyk(0%, 40%, 42%, 68%) | |
| CIE LAB | lab(24.17, 14.28, 7.36) | |
| CIE LCH | lch(24.17, 16.06, 27.28) | |
| CIE XYZ | xyz(5.005, 4.152, 3.227) | |
| Decimal | 5321007 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51312F, 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 #51312F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.83:1 | Fail | Fail | Fail |
| Sample text | 11.47:1 | Pass | Pass | Pass |
| #51312F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.47:1 | Pass | Pass | Pass |
| Sample text | 1.83: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 #51312F looks to people with the most common types of color vision deficiency.
#38362fProtanopia
no red cones#3f3c2fDeuteranopia
no green cones#572d31Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #51312f; }
.text { color: #51312f; }
.border { border: 2px solid #51312f; }
.transparent { background-color: rgb(81 49 47 / 50%); }
.gradient { background: linear-gradient(to right, #51312f, #51422f); }
Similar colors
#4e312dEspresso#4a2c2aBrown Coffee#4a2d2fDark Roast#553b39Monkey Island#4f2923Bitter Chocolate#572b26Worcestershire Sauce#603231Rampant Rhubarb#4e2a20Couch
Questions
- What color is #51312F?
- #51312F is a dark, desaturated red, closest to the named color Espresso. It belongs to the red family of colors.
- What is the RGB value of #51312F?
- The RGB value is 81, 49, 47: 81 red, 49 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #51312F?
- The complementary color is #2F4F51, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51312F?
- White text. Black text has a contrast ratio of 1.83:1 and white text 11.47:1. WCAG asks for at least 4.5:1 for normal text.