Skip to content
Vectorlight.net

#ab448e

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

HEX
#ab448e
RGB
171, 68, 142
HSL
316.89°, 43.1%, 46.86%
OKLCH
0.55 0.16 340.08
Names
—
Lists

Codes

FormatValue
HEX#ab448e
RGBrgb(171 68 142)
HSLhsl(316.89 43.1% 46.86%)
OKLCHoklch(0.55 0.16 340.08)
CMYKcmyk(0% 60.23% 16.96% 32.94%)
Android#ffab448e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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