Skip to content
Vectorlight.net

#a2115f

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

HEX
#a2115f
RGB
162, 17, 95
HSL
327.72°, 81.01%, 35.1%
OKLCH
0.47 0.18 355.63
Names
—
Lists

Codes

FormatValue
HEX#a2115f
RGBrgb(162 17 95)
HSLhsl(327.72 81.01% 35.1%)
OKLCHoklch(0.47 0.18 355.63)
CMYKcmyk(0% 89.51% 41.36% 36.47%)
Android#ffa2115f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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