Skip to content
Vectorlight.net

#22071f

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

HEX
#22071f
RGB
34, 7, 31
HSL
306.67°, 65.85%, 8.04%
OKLCH
0.19 0.06 332.21
Names
—
Lists

Codes

FormatValue
HEX#22071f
RGBrgb(34 7 31)
HSLhsl(306.67 65.85% 8.04%)
OKLCHoklch(0.19 0.06 332.21)
CMYKcmyk(0% 79.41% 8.82% 86.67%)
Android#ff22071f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
18.78: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="#22071f"
Gradient stop
<stop stop-color="#22071f"/>
CSS variable + fill
:root { --c: #22071f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #22071f;
background-color: #22071f;
bg-[#22071f]