#312D2B color
The hex color #312D2B is a dark gray.
In the RGB color model it is made of 19.2% red, 17.6% green and 16.9% blue (49, 45, 43).
Its hue angle is 20°, with 7% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 12% yellow and 81% black.
The closest named color is Holy Crow (#332F2C), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.63:1).
#312D2B color codes
| HEX | #312D2B | |
|---|---|---|
| RGB | rgb(49, 45, 43) | |
| RGB percent | rgb(19.2%, 17.6%, 16.9%) | |
| HSL | hsl(20, 7%, 18%) | |
| HSV / HSB | hsv(20, 12%, 19%) | |
| CMYK | cmyk(0%, 8%, 12%, 81%) | |
| CIE LAB | lab(18.82, 1.36, 1.94) | |
| CIE LCH | lch(18.82, 2.37, 54.9) | |
| CIE XYZ | xyz(2.641, 2.704, 2.668) | |
| Decimal | 3222827 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #312D2B, 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 #312D2B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.63:1 | Pass | Pass | Pass |
| #312D2B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.63:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #312D2B looks to people with the most common types of color vision deficiency.
#2e2d2bProtanopia
no red cones#2f2e2bDeuteranopia
no green cones#322c2cTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #312d2b; }
.text { color: #312d2b; }
.border { border: 2px solid #312d2b; }
.transparent { background-color: rgb(49 45 43 / 50%); }
.gradient { background: linear-gradient(to right, #312d2b, #31302b); }
Similar colors
#332f2cHoly Crow#322c2bDiesel#312b27Noir#332e2eNight Rider#333232Dark Charcoal#2e2e2eCarbon Fibre#3a3532Kilimanjaro#2a2a2aThe End
Closest common color name: Jet Black.
Questions
- What color is #312D2B?
- #312D2B is a dark gray, closest to the named color Holy Crow. It belongs to the black family of colors.
- What is the RGB value of #312D2B?
- The RGB value is 49, 45, 43: 49 red, 45 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #312D2B?
- The complementary color is #2B2F31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #312D2B?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.63:1. WCAG asks for at least 4.5:1 for normal text.