Skip to content
Vectorlight.net

#ab8bb6

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

HEX
#ab8bb6
RGB
171, 139, 182
HSL
284.65°, 22.75%, 62.94%
OKLCH
0.68 0.07 317.36
Names
—
Lists

Codes

FormatValue
HEX#ab8bb6
RGBrgb(171 139 182)
HSLhsl(284.65 22.75% 62.94%)
OKLCHoklch(0.68 0.07 317.36)
CMYKcmyk(6.04% 23.63% 0% 28.63%)
Android#ffab8bb6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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