Skip to content
Vectorlight.net

#ab5262

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

HEX
#ab5262
RGB
171, 82, 98
HSL
349.21°, 35.18%, 49.61%
OKLCH
0.55 0.12 10.42
Names
—
Lists

Codes

FormatValue
HEX#ab5262
RGBrgb(171 82 98)
HSLhsl(349.21 35.18% 49.61%)
OKLCHoklch(0.55 0.12 10.42)
CMYKcmyk(0% 52.05% 42.69% 32.94%)
Android#ffab5262

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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