Skip to content
Vectorlight.net

#20102a

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

HEX
#20102a
RGB
32, 16, 42
HSL
276.92°, 44.83%, 11.37%
OKLCH
0.21 0.05 310.98
Names
—
Lists

Codes

FormatValue
HEX#20102a
RGBrgb(32 16 42)
HSLhsl(276.92 44.83% 11.37%)
OKLCHoklch(0.21 0.05 310.98)
CMYKcmyk(23.81% 61.9% 0% 83.53%)
Android#ff20102a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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