Skip to content
Vectorlight.net

#ab526f

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

HEX
#ab526f
RGB
171, 82, 111
HSL
340.45°, 35.18%, 49.61%
OKLCH
0.56 0.12 1.16
Names
—
Lists

Codes

FormatValue
HEX#ab526f
RGBrgb(171 82 111)
HSLhsl(340.45 35.18% 49.61%)
OKLCHoklch(0.56 0.12 1.16)
CMYKcmyk(0% 52.05% 35.09% 32.94%)
Android#ffab526f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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