#31322E color

#31322E rgb(49, 50, 46)
Shades of gray

The hex color #31322E is a dark gray.

In the RGB color model it is made of 19.2% red, 19.6% green and 18% blue (49, 50, 46).

Its hue angle is 75°, with 4% saturation and 19% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 8% yellow and 80% black.

The closest named color is Oil (#313330), a difference of 0.8 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 12.91:1).

#31322E color codes

HEX#31322E
RGBrgb(49, 50, 46)
RGB percentrgb(19.2%, 19.6%, 18%)
HSLhsl(75, 4%, 19%)
HSV / HSBhsv(75, 8%, 20%)
CMYKcmyk(2%, 0%, 8%, 80%)
CIE LABlab(20.56, -1.35, 2.39)
CIE LCHlch(20.56, 2.75, 119.5)
CIE XYZxyz(2.9, 3.131, 3.036)
Decimal3224110
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #31322E, 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 #31322ERatioAAAAAAA large
Sample text1.63:1FailFailFail
Sample text12.91:1PassPassPass
#31322E as text onRatioAAAAAAA large
Sample text12.91:1PassPassPass
Sample text1.63: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 #31322E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #31322e; }
.text { color: #31322e; }
.border { border: 2px solid #31322e; }
.transparent { background-color: rgb(49 50 46 / 50%); }
.gradient { background: linear-gradient(to right, #31322e, #2f322e); }
Background
Text color
Border

Similar colors

Questions

What color is #31322E?
#31322E is a dark gray, closest to the named color Oil. It belongs to the gray family of colors.
What is the RGB value of #31322E?
The RGB value is 49, 50, 46: 49 red, 50 green and 46 blue on a 0 to 255 scale.
What is the complementary color of #31322E?
The complementary color is #2F2E32, found by rotating the hue 180° on the color wheel.
Is black or white text better on #31322E?
White text. Black text has a contrast ratio of 1.63:1 and white text 12.91:1. WCAG asks for at least 4.5:1 for normal text.