Skip to content
Vectorlight.net

#ab549a

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

HEX
#ab549a
RGB
171, 84, 154
HSL
311.72°, 34.12%, 50%
OKLCH
0.58 0.14 335.2
Names
—
Lists

Codes

FormatValue
HEX#ab549a
RGBrgb(171 84 154)
HSLhsl(311.72 34.12% 50%)
OKLCHoklch(0.58 0.14 335.2)
CMYKcmyk(0% 50.88% 9.94% 32.94%)
Android#ffab549a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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