Skip to content
Vectorlight.net

#ab5082

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

HEX
#ab5082
RGB
171, 80, 130
HSL
327.03°, 36.25%, 49.22%
OKLCH
0.56 0.13 348.1
Names
—
Lists

Codes

FormatValue
HEX#ab5082
RGBrgb(171 80 130)
HSLhsl(327.03 36.25% 49.22%)
OKLCHoklch(0.56 0.13 348.1)
CMYKcmyk(0% 53.22% 23.98% 32.94%)
Android#ffab5082

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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