Skip to content
Vectorlight.net

#ab477f

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

HEX
#ab477f
RGB
171, 71, 127
HSL
326.4°, 41.32%, 47.45%
OKLCH
0.55 0.15 348.26
Names
—
Lists

Codes

FormatValue
HEX#ab477f
RGBrgb(171 71 127)
HSLhsl(326.4 41.32% 47.45%)
OKLCHoklch(0.55 0.15 348.26)
CMYKcmyk(0% 58.48% 25.73% 32.94%)
Android#ffab477f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.33:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.93:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#ab477f"
Gradient stop
<stop stop-color="#ab477f"/>
CSS variable + fill
:root { --c: #ab477f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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