Skip to content
Vectorlight.net

#a2120d

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

HEX
#a2120d
RGB
162, 18, 13
HSL
2.01°, 85.14%, 34.31%
OKLCH
0.45 0.18 28.95
Names
—
Lists

Codes

FormatValue
HEX#a2120d
RGBrgb(162 18 13)
HSLhsl(2.01 85.14% 34.31%)
OKLCHoklch(0.45 0.18 28.95)
CMYKcmyk(0% 88.89% 91.98% 36.47%)
Android#ffa2120d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #a2120d;
background-color: #a2120d;
bg-[#a2120d]