Skip to content
Vectorlight.net

#a2208a

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

HEX
#a2208a
RGB
162, 32, 138
HSL
311.08°, 67.01%, 38.04%
OKLCH
0.5 0.2 337.1
Names
—
Lists

Codes

FormatValue
HEX#a2208a
RGBrgb(162 32 138)
HSLhsl(311.08 67.01% 38.04%)
OKLCHoklch(0.5 0.2 337.1)
CMYKcmyk(0% 80.25% 14.81% 36.47%)
Android#ffa2208a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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