#312C2A color

#312C2A rgb(49, 44, 42)
Shades of black

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
RGBrgb(49, 44, 42)
RGB percentrgb(19.2%, 17.3%, 16.5%)
HSLhsl(17, 8%, 18%)
HSV / HSBhsv(17, 14%, 19%)
CMYKcmyk(0%, 10%, 14%, 81%)
CIE LABlab(18.46, 1.83, 2.12)
CIE LCHlch(18.46, 2.8, 49.1)
CIE XYZxyz(2.585, 2.622, 2.56)
Decimal3222570
Short hexNone (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 #312C2ARatioAAAAAAA large
Sample text1.52:1FailFailFail
Sample text13.78:1PassPassPass
#312C2A as text onRatioAAAAAAA large
Sample text13.78:1PassPassPass
Sample text1.52:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.