#311D1F color
The hex color #311D1F is a very dark, desaturated red.
In the RGB color model it is made of 19.2% red, 11.4% green and 12.2% blue (49, 29, 31).
Its hue angle is 354°, with 26% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 41% magenta, 37% yellow and 81% black.
The closest named color is Aubergine (#372528), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.84:1).
#311D1F color codes
| HEX | #311D1F | |
|---|---|---|
| RGB | rgb(49, 29, 31) | |
| RGB percent | rgb(19.2%, 11.4%, 12.2%) | |
| HSL | hsl(354, 26%, 15%) | |
| HSV / HSB | hsv(354, 41%, 19%) | |
| CMYK | cmyk(0%, 41%, 37%, 81%) | |
| CIE LAB | lab(13.42, 10.16, 2.69) | |
| CIE LCH | lch(13.42, 10.51, 14.82) | |
| CIE XYZ | xyz(1.953, 1.631, 1.508) | |
| Decimal | 3218719 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #311D1F, 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 #311D1F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.84:1 | Pass | Pass | Pass |
| #311D1F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.84:1 | Pass | Pass | Pass |
| Sample text | 1.33: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 #311D1F looks to people with the most common types of color vision deficiency.
#20201fProtanopia
no red cones#25241fDeuteranopia
no green cones#351b1eTritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #311d1f; }
.text { color: #311d1f; }
.border { border: 2px solid #311d1f; }
.transparent { background-color: rgb(49 29 31 / 50%); }
.gradient { background: linear-gradient(to right, #311d1f, #31251d); }
Similar colors
#372528Aubergine#221111Italian Roast#3b2b2cHavana#2c1620Black Cherry#3e2723Ethereal Espresso#34282cSmoky Charcoal#3b1921Bruised Plum#1f1518Bats Cloak
Closest common color name: Licorice.
Questions
- What color is #311D1F?
- #311D1F is a very dark, desaturated red, closest to the named color Aubergine. It belongs to the black family of colors.
- What is the RGB value of #311D1F?
- The RGB value is 49, 29, 31: 49 red, 29 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #311D1F?
- The complementary color is #1D312F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #311D1F?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.84:1. WCAG asks for at least 4.5:1 for normal text.