#312C2A color
The hex color #312C2A is a dark gray.
In the RGB color model it is made of 19.2% red, 17.3% green and 16.5% blue (49, 44, 42).
Its hue angle is 17°, with 8% saturation and 18% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 14% yellow and 81% black.
The closest named color is Diesel (#322C2B), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.78:1).
#312C2A color codes
| HEX | #312C2A | |
|---|---|---|
| RGB | rgb(49, 44, 42) | |
| RGB percent | rgb(19.2%, 17.3%, 16.5%) | |
| HSL | hsl(17, 8%, 18%) | |
| HSV / HSB | hsv(17, 14%, 19%) | |
| CMYK | cmyk(0%, 10%, 14%, 81%) | |
| CIE LAB | lab(18.46, 1.83, 2.12) | |
| CIE LCH | lch(18.46, 2.8, 49.1) | |
| CIE XYZ | xyz(2.585, 2.622, 2.56) | |
| Decimal | 3222570 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #312C2A, 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 #312C2A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.52:1 | Fail | Fail | Fail |
| Sample text | 13.78:1 | Pass | Pass | Pass |
| #312C2A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.78:1 | Pass | Pass | Pass |
| Sample text | 1.52: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 #312C2A looks to people with the most common types of color vision deficiency.
#2d2c2aProtanopia
no red cones#2e2d2aDeuteranopia
no green cones#322b2bTritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #312c2a; }
.text { color: #312c2a; }
.border { border: 2px solid #312c2a; }
.transparent { background-color: rgb(49 44 42 / 50%); }
.gradient { background: linear-gradient(to right, #312c2a, #31302a); }
Similar colors
#322c2bDiesel#312b27Noir#332f2cHoly Crow#332e2eNight Rider#3a3532Kilimanjaro#333232Dark Charcoal#2e2e2eCarbon Fibre#2a2a2aThe End
Closest common color name: Jet Black.
Questions
- What color is #312C2A?
- #312C2A is a dark gray, closest to the named color Diesel. It belongs to the black family of colors.
- What is the RGB value of #312C2A?
- The RGB value is 49, 44, 42: 49 red, 44 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #312C2A?
- The complementary color is #2A2F31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #312C2A?
- White text. Black text has a contrast ratio of 1.52:1 and white text 13.78:1. WCAG asks for at least 4.5:1 for normal text.