Skip to content
Vectorlight.net

#21291c

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

HEX
#21291c
RGB
33, 41, 28
HSL
96.92°, 18.84%, 13.53%
OKLCH
0.27 0.03 133.66
Names
—
Lists

Codes

FormatValue
HEX#21291c
RGBrgb(33 41 28)
HSLhsl(96.92 18.84% 13.53%)
OKLCHoklch(0.27 0.03 133.66)
CMYKcmyk(19.51% 0% 31.71% 83.92%)
Android#ff21291c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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