Skip to content
Vectorlight.net

#a2020a

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

HEX
#a2020a
RGB
162, 2, 10
HSL
357°, 97.56%, 32.16%
OKLCH
0.45 0.18 27.9
Names
—
Lists

Codes

FormatValue
HEX#a2020a
RGBrgb(162 2 10)
HSLhsl(357 97.56% 32.16%)
OKLCHoklch(0.45 0.18 27.9)
CMYKcmyk(0% 98.77% 93.83% 36.47%)
Android#ffa2020a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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