Skip to content
Vectorlight.net

#ab628c

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

HEX
#ab628c
RGB
171, 98, 140
HSL
325.48°, 30.29%, 52.75%
OKLCH
0.59 0.11 345.39
Names
—
Lists

Codes

FormatValue
HEX#ab628c
RGBrgb(171 98 140)
HSLhsl(325.48 30.29% 52.75%)
OKLCHoklch(0.59 0.11 345.39)
CMYKcmyk(0% 42.69% 18.13% 32.94%)
Android#ffab628c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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