Skip to content
Vectorlight.net

#22211b

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#22211b
RGB
34, 33, 27
HSL
51.43°, 11.48%, 11.96%
OKLCH
0.25 0.01 99.36
Names
—
Lists

Codes

FormatValue
HEX#22211b
RGBrgb(34 33 27)
HSLhsl(51.43 11.48% 11.96%)
OKLCHoklch(0.25 0.01 99.36)
CMYKcmyk(0% 2.94% 20.59% 86.67%)
Android#ff22211b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
16.13:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.30:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#22211b"
Gradient stop
<stop stop-color="#22211b"/>
CSS variable + fill
:root { --c: #22211b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #22211b;
background-color: #22211b;
bg-[#22211b]