Skip to content
Vectorlight.net

#ab92bf

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

HEX
#ab92bf
RGB
171, 146, 191
HSL
273.33°, 26.01%, 66.08%
OKLCH
0.7 0.07 309.74
Names
—
Lists

Codes

FormatValue
HEX#ab92bf
RGBrgb(171 146 191)
HSLhsl(273.33 26.01% 66.08%)
OKLCHoklch(0.7 0.07 309.74)
CMYKcmyk(10.47% 23.56% 0% 25.1%)
Android#ffab92bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.76:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.59:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#ab92bf"
Gradient stop
<stop stop-color="#ab92bf"/>
CSS variable + fill
:root { --c: #ab92bf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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