Skip to content
Vectorlight.net

#ab204d

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

HEX
#ab204d
RGB
171, 32, 77
HSL
340.58°, 68.47%, 39.8%
OKLCH
0.49 0.17 8.17
Names
—
Lists

Codes

FormatValue
HEX#ab204d
RGBrgb(171 32 77)
HSLhsl(340.58 68.47% 39.8%)
OKLCHoklch(0.49 0.17 8.17)
CMYKcmyk(0% 81.29% 54.97% 32.94%)
Android#ffab204d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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