Skip to content
Vectorlight.net

#a2020c

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

HEX
#a2020c
RGB
162, 2, 12
HSL
356.25°, 97.56%, 32.16%
OKLCH
0.45 0.18 27.59
Names
—
Lists

Codes

FormatValue
HEX#a2020c
RGBrgb(162 2 12)
HSLhsl(356.25 97.56% 32.16%)
OKLCHoklch(0.45 0.18 27.59)
CMYKcmyk(0% 98.77% 92.59% 36.47%)
Android#ffa2020c

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.55: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="#a2020c"
Gradient stop
<stop stop-color="#a2020c"/>
CSS variable + fill
:root { --c: #a2020c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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