Skip to content
Vectorlight.net

#a2115e

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

HEX
#a2115e
RGB
162, 17, 94
HSL
328.14°, 81.01%, 35.1%
OKLCH
0.47 0.18 356.11
Names
—
Lists

Codes

FormatValue
HEX#a2115e
RGBrgb(162 17 94)
HSLhsl(328.14 81.01% 35.1%)
OKLCHoklch(0.47 0.18 356.11)
CMYKcmyk(0% 89.51% 41.98% 36.47%)
Android#ffa2115e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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