Skip to content
Vectorlight.net

#ab4261

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

HEX
#ab4261
RGB
171, 66, 97
HSL
342.29°, 44.3%, 46.47%
OKLCH
0.53 0.14 4.88
Names
—
Lists

Codes

FormatValue
HEX#ab4261
RGBrgb(171 66 97)
HSLhsl(342.29 44.3% 46.47%)
OKLCHoklch(0.53 0.14 4.88)
CMYKcmyk(0% 61.4% 43.27% 32.94%)
Android#ffab4261

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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