Skip to content
Vectorlight.net

#21241b

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

HEX
#21241b
RGB
33, 36, 27
HSL
80°, 14.29%, 12.35%
OKLCH
0.25 0.02 122.59
Names
—
Lists

Codes

FormatValue
HEX#21241b
RGBrgb(33 36 27)
HSLhsl(80 14.29% 12.35%)
OKLCHoklch(0.25 0.02 122.59)
CMYKcmyk(8.33% 0% 25% 85.88%)
Android#ff21241b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #21241b;
background-color: #21241b;
bg-[#21241b]