#311817 color
The hex color #311817 is a very dark, desaturated red.
In the RGB color model it is made of 19.2% red, 9.4% green and 9% blue (49, 24, 23).
Its hue angle is 2°, with 36% saturation and 14% lightness. For print, the CMYK equivalent is 0% cyan, 51% magenta, 53% yellow and 81% black.
The closest named color is Italian Roast (#221111), a difference of 4.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.49:1).
#311817 color codes
| HEX | #311817 | |
|---|---|---|
| RGB | rgb(49, 24, 23) | |
| RGB percent | rgb(19.2%, 9.4%, 9%) | |
| HSL | hsl(2, 36%, 14%) | |
| HSV / HSB | hsv(2, 53%, 19%) | |
| CMYK | cmyk(0%, 51%, 53%, 81%) | |
| CIE LAB | lab(11.74, 12.39, 6.2) | |
| CIE LCH | lch(11.74, 13.85, 26.58) | |
| CIE XYZ | xyz(1.748, 1.368, 0.982) | |
| Decimal | 3217431 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #311817, 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 #311817 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.49:1 | Pass | Pass | Pass |
| #311817 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.49:1 | Pass | Pass | Pass |
| Sample text | 1.27: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 #311817 looks to people with the most common types of color vision deficiency.
#1d1c17Protanopia
no red cones#232117Deuteranopia
no green cones#361518Tritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #311817; }
.text { color: #311817; }
.border { border: 2px solid #311817; }
.transparent { background-color: rgb(49 24 23 / 50%); }
.gradient { background: linear-gradient(to right, #311817, #312517); }
Similar colors
#221111Italian Roast#3e2723Ethereal Espresso#3b1921Bruised Plum#372528Aubergine#2d1403Shadow Play#1d0200Dwarf Fortress#2c1620Black Cherry#4a2c2aBrown Coffee
Closest common color name: Espresso.
Questions
- What color is #311817?
- #311817 is a very dark, desaturated red, closest to the named color Italian Roast. It belongs to the black family of colors.
- What is the RGB value of #311817?
- The RGB value is 49, 24, 23: 49 red, 24 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #311817?
- The complementary color is #173031, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #311817?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.49:1. WCAG asks for at least 4.5:1 for normal text.