#22221F color

#22221F rgb(34, 34, 31)
Shades of black

The hex color #22221F is a dark gray.

In the RGB color model it is made of 13.3% red, 13.3% green and 12.2% blue (34, 34, 31).

Its hue angle is 60°, with 5% saturation and 13% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 9% yellow and 87% black.

The closest named color is Coco’s Black (#1C1C1A), a difference of 2 ΔE, which is barely visible.

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

#22221F color codes

HEX#22221F
RGBrgb(34, 34, 31)
RGB percentrgb(13.3%, 13.3%, 12.2%)
HSLhsl(60, 5%, 13%)
HSV / HSBhsv(60, 9%, 13%)
CMYKcmyk(0%, 0%, 9%, 87%)
CIE LABlab(13.13, -0.72, 2.02)
CIE LCHlch(13.13, 2.15, 109.54)
CIE XYZxyz(1.479, 1.583, 1.524)
Decimal2236959
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #22221f; }
.text { color: #22221f; }
.border { border: 2px solid #22221f; }
.transparent { background-color: rgb(34 34 31 / 50%); }
.gradient { background: linear-gradient(to right, #22221f, #21221f); }
Background
Text color
Border

Similar colors

Closest common color name: Off Black.

Questions

What color is #22221F?
#22221F is a dark gray, closest to the named color Coco’s Black. It belongs to the black family of colors.
What is the RGB value of #22221F?
The RGB value is 34, 34, 31: 34 red, 34 green and 31 blue on a 0 to 255 scale.
What is the complementary color of #22221F?
The complementary color is #1F1F22, found by rotating the hue 180° on the color wheel.
Is black or white text better on #22221F?
White text. Black text has a contrast ratio of 1.32:1 and white text 15.95:1. WCAG asks for at least 4.5:1 for normal text.