Skip to content
Vectorlight.net

#ab124b

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

HEX
#ab124b
RGB
171, 18, 75
HSL
337.65°, 80.95%, 37.06%
OKLCH
0.48 0.18 7.52
Names
—
Lists

Codes

FormatValue
HEX#ab124b
RGBrgb(171 18 75)
HSLhsl(337.65 80.95% 37.06%)
OKLCHoklch(0.48 0.18 7.52)
CMYKcmyk(0% 89.47% 56.14% 32.94%)
Android#ffab124b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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