Skip to content
Vectorlight.net

#ab149a

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

HEX
#ab149a
RGB
171, 20, 154
HSL
306.75°, 79.06%, 37.45%
OKLCH
0.52 0.22 333.94
Names
—
Lists

Codes

FormatValue
HEX#ab149a
RGBrgb(171 20 154)
HSLhsl(306.75 79.06% 37.45%)
OKLCHoklch(0.52 0.22 333.94)
CMYKcmyk(0% 88.3% 9.94% 32.94%)
Android#ffab149a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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