Skip to content
Vectorlight.net

#ab6fac

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

HEX
#ab6fac
RGB
171, 111, 172
HSL
299.02°, 26.87%, 55.49%
OKLCH
0.63 0.11 326.25
Names
—
Lists

Codes

FormatValue
HEX#ab6fac
RGBrgb(171 111 172)
HSLhsl(299.02 26.87% 55.49%)
OKLCHoklch(0.63 0.11 326.25)
CMYKcmyk(0.58% 35.47% 0% 32.55%)
Android#ffab6fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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