Skip to content
Vectorlight.net

#a2107d

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

HEX
#a2107d
RGB
162, 16, 125
HSL
315.21°, 82.02%, 34.9%
OKLCH
0.48 0.2 342.08
Names
—
Lists

Codes

FormatValue
HEX#a2107d
RGBrgb(162 16 125)
HSLhsl(315.21 82.02% 34.9%)
OKLCHoklch(0.48 0.2 342.08)
CMYKcmyk(0% 90.12% 22.84% 36.47%)
Android#ffa2107d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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