Skip to content
Vectorlight.net

#ab4fbb

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

HEX
#ab4fbb
RGB
171, 79, 187
HSL
291.11°, 44.26%, 52.16%
OKLCH
0.59 0.18 321.5
Names
—
Lists

Codes

FormatValue
HEX#ab4fbb
RGBrgb(171 79 187)
HSLhsl(291.11 44.26% 52.16%)
OKLCHoklch(0.59 0.18 321.5)
CMYKcmyk(8.56% 57.75% 0% 26.67%)
Android#ffab4fbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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