Skip to content
Vectorlight.net

#a2137a

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

HEX
#a2137a
RGB
162, 19, 122
HSL
316.78°, 79.01%, 35.49%
OKLCH
0.48 0.2 343.41
Names
—
Lists

Codes

FormatValue
HEX#a2137a
RGBrgb(162 19 122)
HSLhsl(316.78 79.01% 35.49%)
OKLCHoklch(0.48 0.2 343.41)
CMYKcmyk(0% 88.27% 24.69% 36.47%)
Android#ffa2137a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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