Skip to content
Vectorlight.net

#ab628f

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

HEX
#ab628f
RGB
171, 98, 143
HSL
323.01°, 30.29%, 52.75%
OKLCH
0.59 0.11 343.28
Names
—
Lists

Codes

FormatValue
HEX#ab628f
RGBrgb(171 98 143)
HSLhsl(323.01 30.29% 52.75%)
OKLCHoklch(0.59 0.11 343.28)
CMYKcmyk(0% 42.69% 16.37% 32.94%)
Android#ffab628f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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