Skip to content
Vectorlight.net

#ab92bc

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

HEX
#ab92bc
RGB
171, 146, 188
HSL
275.71°, 23.86%, 65.49%
OKLCH
0.7 0.07 311.45
Names
—
Lists

Codes

FormatValue
HEX#ab92bc
RGBrgb(171 146 188)
HSLhsl(275.71 23.86% 65.49%)
OKLCHoklch(0.7 0.07 311.45)
CMYKcmyk(9.04% 22.34% 0% 26.27%)
Android#ffab92bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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