Skip to content
Vectorlight.net

#ab6fbb

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

HEX
#ab6fbb
RGB
171, 111, 187
HSL
287.37°, 35.85%, 58.43%
OKLCH
0.63 0.13 318.99
Names
—
Lists

Codes

FormatValue
HEX#ab6fbb
RGBrgb(171 111 187)
HSLhsl(287.37 35.85% 58.43%)
OKLCHoklch(0.63 0.13 318.99)
CMYKcmyk(8.56% 40.64% 0% 26.67%)
Android#ffab6fbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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