Skip to content
Vectorlight.net

#a2020f

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

HEX
#a2020f
RGB
162, 2, 15
HSL
355.13°, 97.56%, 32.16%
OKLCH
0.45 0.18 27.06
Names
—
Lists

Codes

FormatValue
HEX#a2020f
RGBrgb(162 2 15)
HSLhsl(355.13 97.56% 32.16%)
OKLCHoklch(0.45 0.18 27.06)
CMYKcmyk(0% 98.77% 90.74% 36.47%)
Android#ffa2020f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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