Skip to content
Vectorlight.net

#22162a

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

HEX
#22162a
RGB
34, 22, 42
HSL
276°, 31.25%, 12.55%
OKLCH
0.23 0.04 310.94
Names
—
Lists

Codes

FormatValue
HEX#22162a
RGBrgb(34 22 42)
HSLhsl(276 31.25% 12.55%)
OKLCHoklch(0.23 0.04 310.94)
CMYKcmyk(19.05% 47.62% 0% 83.53%)
Android#ff22162a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #22162a;
background-color: #22162a;
bg-[#22162a]