Skip to content
Vectorlight.net

#ac487f

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

HEX
#ac487f
RGB
172, 72, 127
HSL
327°, 40.98%, 47.84%
OKLCH
0.55 0.14 348.77
Names
—
Lists

Codes

FormatValue
HEX#ac487f
RGBrgb(172 72 127)
HSLhsl(327 40.98% 47.84%)
OKLCHoklch(0.55 0.14 348.77)
CMYKcmyk(0% 58.14% 26.16% 32.55%)
Android#ffac487f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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