Skip to content
Vectorlight.net

#a2002c

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

HEX
#a2002c
RGB
162, 0, 44
HSL
343.7°, 100%, 31.76%
OKLCH
0.45 0.18 18.24
Names
—
Lists

Codes

FormatValue
HEX#a2002c
RGBrgb(162 0 44)
HSLhsl(343.7 100% 31.76%)
OKLCHoklch(0.45 0.18 18.24)
CMYKcmyk(0% 100% 72.84% 36.47%)
Android#ffa2002c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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