Skip to content
Vectorlight.net

#22011c

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

HEX
#22011c
RGB
34, 1, 28
HSL
310.91°, 94.29%, 6.86%
OKLCH
0.17 0.07 336.14
Names
—
Lists

Codes

FormatValue
HEX#22011c
RGBrgb(34 1 28)
HSLhsl(310.91 94.29% 6.86%)
OKLCHoklch(0.17 0.07 336.14)
CMYKcmyk(0% 97.06% 17.65% 86.67%)
Android#ff22011c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
19.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.08: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="#22011c"
Gradient stop
<stop stop-color="#22011c"/>
CSS variable + fill
:root { --c: #22011c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #22011c;
background-color: #22011c;
bg-[#22011c]