Skip to content
Vectorlight.net

#ab6da8

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

HEX
#ab6da8
RGB
171, 109, 168
HSL
302.9°, 26.96%, 54.9%
OKLCH
0.62 0.11 328.51
Names
—
Lists

Codes

FormatValue
HEX#ab6da8
RGBrgb(171 109 168)
HSLhsl(302.9 26.96% 54.9%)
OKLCHoklch(0.62 0.11 328.51)
CMYKcmyk(0% 36.26% 1.75% 32.94%)
Android#ffab6da8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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