Skip to content
Vectorlight.net

#ab0488

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

HEX
#ab0488
RGB
171, 4, 136
HSL
312.57°, 95.43%, 34.31%
OKLCH
0.5 0.22 340.38
Names
—
Lists

Codes

FormatValue
HEX#ab0488
RGBrgb(171 4 136)
HSLhsl(312.57 95.43% 34.31%)
OKLCHoklch(0.5 0.22 340.38)
CMYKcmyk(0% 97.66% 20.47% 32.94%)
Android#ffab0488

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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