Skip to content
Vectorlight.net

#21322e

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

HEX
#21322e
RGB
33, 50, 46
HSL
165.88°, 20.48%, 16.27%
OKLCH
0.3 0.02 178.38
Names
—
Lists

Codes

FormatValue
HEX#21322e
RGBrgb(33 50 46)
HSLhsl(165.88 20.48% 16.27%)
OKLCHoklch(0.3 0.02 178.38)
CMYKcmyk(34% 0% 8% 80.39%)
Android#ff21322e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #21322e;
background-color: #21322e;
bg-[#21322e]