#31181E color
The hex color #31181E is a very dark, desaturated red.
In the RGB color model it is made of 19.2% red, 9.4% green and 11.8% blue (49, 24, 30).
Its hue angle is 346°, with 34% saturation and 14% lightness. For print, the CMYK equivalent is 0% cyan, 51% magenta, 39% yellow and 81% black.
The closest named color is Black Cherry (#2C1620), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.41:1).
#31181E color codes
| HEX | #31181E | |
|---|---|---|
| RGB | rgb(49, 24, 30) | |
| RGB percent | rgb(19.2%, 9.4%, 11.8%) | |
| HSL | hsl(346, 34%, 14%) | |
| HSV / HSB | hsv(346, 51%, 19%) | |
| CMYK | cmyk(0%, 51%, 39%, 81%) | |
| CIE LAB | lab(11.96, 13.44, 1.33) | |
| CIE LCH | lch(11.96, 13.51, 5.64) | |
| CIE XYZ | xyz(1.828, 1.4, 1.402) | |
| Decimal | 3217438 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31181E, 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 #31181E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.28:1 | Fail | Fail | Fail |
| Sample text | 16.41:1 | Pass | Pass | Pass |
| #31181E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.41:1 | Pass | Pass | Pass |
| Sample text | 1.28: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 #31181E looks to people with the most common types of color vision deficiency.
#1c1d1eProtanopia
no red cones#22211dDeuteranopia
no green cones#35161aTritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #31181e; }
.text { color: #31181e; }
.border { border: 2px solid #31181e; }
.transparent { background-color: rgb(49 24 30 / 50%); }
.gradient { background: linear-gradient(to right, #31181e, #311f18); }
Similar colors
#2c1620Black Cherry#3b1921Bruised Plum#372528Aubergine#3e1825Black-Hearted#3c1421Chocolate Kiss#221111Italian Roast#44232fCastro#220011Belladonna
Closest common color name: Licorice.
Questions
- What color is #31181E?
- #31181E is a very dark, desaturated red, closest to the named color Black Cherry. It belongs to the black family of colors.
- What is the RGB value of #31181E?
- The RGB value is 49, 24, 30: 49 red, 24 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #31181E?
- The complementary color is #18312B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31181E?
- White text. Black text has a contrast ratio of 1.28:1 and white text 16.41:1. WCAG asks for at least 4.5:1 for normal text.