Skip to content
Vectorlight.net

#ab46ae

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

HEX
#ab46ae
RGB
171, 70, 174
HSL
298.27°, 42.62%, 47.84%
OKLCH
0.57 0.18 326.51
Names
—
Lists

Codes

FormatValue
HEX#ab46ae
RGBrgb(171 70 174)
HSLhsl(298.27 42.62% 47.84%)
OKLCHoklch(0.57 0.18 326.51)
CMYKcmyk(1.72% 59.77% 0% 31.76%)
Android#ffab46ae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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