#331F1D color
The hex color #331F1D is a very dark, desaturated red.
In the RGB color model it is made of 20% red, 12.2% green and 11.4% blue (51, 31, 29).
Its hue angle is 5°, with 28% saturation and 16% lightness. For print, the CMYK equivalent is 0% cyan, 39% magenta, 43% yellow and 80% black.
The closest named color is Ethereal Espresso (#3E2723), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.5:1).
#331F1D color codes
| HEX | #331F1D | |
|---|---|---|
| RGB | rgb(51, 31, 29) | |
| RGB percent | rgb(20%, 12.2%, 11.4%) | |
| HSL | hsl(5, 28%, 16%) | |
| HSV / HSB | hsv(5, 43%, 20%) | |
| CMYK | cmyk(0%, 39%, 43%, 80%) | |
| CIE LAB | lab(14.25, 9.42, 5.35) | |
| CIE LCH | lch(14.25, 10.83, 29.59) | |
| CIE XYZ | xyz(2.077, 1.773, 1.395) | |
| Decimal | 3350301 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #331F1D, 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 #331F1D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.5:1 | Pass | Pass | Pass |
| #331F1D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.5:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #331F1D looks to people with the most common types of color vision deficiency.
#23221dProtanopia
no red cones#28261dDeuteranopia
no green cones#371d1fTritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #331f1d; }
.text { color: #331f1d; }
.border { border: 2px solid #331f1d; }
.transparent { background-color: rgb(51 31 29 / 50%); }
.gradient { background: linear-gradient(to right, #331f1d, #332a1d); }
Similar colors
#3e2723Ethereal Espresso#372528Aubergine#3b2b2cHavana#221111Italian Roast#3e2b23English Walnut#251b19Dark Orchestra#392d2bMole#34282cSmoky Charcoal
Closest common color name: Espresso.
Questions
- What color is #331F1D?
- #331F1D is a very dark, desaturated red, closest to the named color Ethereal Espresso. It belongs to the black family of colors.
- What is the RGB value of #331F1D?
- The RGB value is 51, 31, 29: 51 red, 31 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #331F1D?
- The complementary color is #1D3133, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #331F1D?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.5:1. WCAG asks for at least 4.5:1 for normal text.