Skip to content
Vectorlight.net

#22012d

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

HEX
#22012d
RGB
34, 1, 45
HSL
285°, 95.65%, 9.02%
OKLCH
0.19 0.09 316.3
Names
—
Lists

Codes

FormatValue
HEX#22012d
RGBrgb(34 1 45)
HSLhsl(285 95.65% 9.02%)
OKLCHoklch(0.19 0.09 316.3)
CMYKcmyk(24.44% 97.78% 0% 82.35%)
Android#ff22012d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #22012d;
background-color: #22012d;
bg-[#22012d]