Skip to content
Vectorlight.net

#ab6987

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

HEX
#ab6987
RGB
171, 105, 135
HSL
332.73°, 28.21%, 54.12%
OKLCH
0.6 0.09 351.48
Names
—
Lists

Codes

FormatValue
HEX#ab6987
RGBrgb(171 105 135)
HSLhsl(332.73 28.21% 54.12%)
OKLCHoklch(0.6 0.09 351.48)
CMYKcmyk(0% 38.6% 21.05% 32.94%)
Android#ffab6987

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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