#331B21 color

#331B21 rgb(51, 27, 33)
Shades of gray

The hex color #331B21 is a very dark, desaturated red.

In the RGB color model it is made of 20% red, 10.6% green and 12.9% blue (51, 27, 33).

Its hue angle is 345°, with 31% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 47% magenta, 35% yellow and 80% black.

The closest named color is Black Cherry (#2C1620), a difference of 2.8 ΔE, a small difference.

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

#331B21 color codes

HEX#331B21
RGBrgb(51, 27, 33)
RGB percentrgb(20%, 10.6%, 12.9%)
HSLhsl(345, 31%, 15%)
HSV / HSBhsv(345, 47%, 20%)
CMYKcmyk(0%, 47%, 35%, 80%)
CIE LABlab(13.22, 12.84, 0.98)
CIE LCHlch(13.22, 12.87, 4.37)
CIE XYZxyz(2.032, 1.598, 1.64)
Decimal3349281
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #331B21, 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 #331B21RatioAAAAAAA large
Sample text1.32:1FailFailFail
Sample text15.92:1PassPassPass
#331B21 as text onRatioAAAAAAA large
Sample text15.92:1PassPassPass
Sample text1.32: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 #331B21 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #331b21; }
.text { color: #331b21; }
.border { border: 2px solid #331b21; }
.transparent { background-color: rgb(51 27 33 / 50%); }
.gradient { background: linear-gradient(to right, #331b21, #33211b); }
Background
Text color
Border

Similar colors

Closest common color name: Espresso.

Questions

What color is #331B21?
#331B21 is a very dark, desaturated red, closest to the named color Black Cherry. It belongs to the gray family of colors.
What is the RGB value of #331B21?
The RGB value is 51, 27, 33: 51 red, 27 green and 33 blue on a 0 to 255 scale.
What is the complementary color of #331B21?
The complementary color is #1B332D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #331B21?
White text. Black text has a contrast ratio of 1.32:1 and white text 15.92:1. WCAG asks for at least 4.5:1 for normal text.