Skip to content
Vectorlight.net

#a2002a

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

HEX
#a2002a
RGB
162, 0, 42
HSL
344.44°, 100%, 31.76%
OKLCH
0.45 0.18 19.02
Names
—
Lists

Codes

FormatValue
HEX#a2002a
RGBrgb(162 0 42)
HSLhsl(344.44 100% 31.76%)
OKLCHoklch(0.45 0.18 19.02)
CMYKcmyk(0% 100% 74.07% 36.47%)
Android#ffa2002a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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