Skip to content
Vectorlight.net

#a0187e

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

HEX
#a0187e
RGB
160, 24, 126
HSL
315°, 73.91%, 36.08%
OKLCH
0.48 0.19 341.19
Names
—
Lists

Codes

FormatValue
HEX#a0187e
RGBrgb(160 24 126)
HSLhsl(315 73.91% 36.08%)
OKLCHoklch(0.48 0.19 341.19)
CMYKcmyk(0% 85% 21.25% 37.25%)
Android#ffa0187e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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