Skip to content
Vectorlight.net

#ac2c8f

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

HEX
#ac2c8f
RGB
172, 44, 143
HSL
313.59°, 59.26%, 42.35%
OKLCH
0.53 0.19 338.76
Names
—
Lists

Codes

FormatValue
HEX#ac2c8f
RGBrgb(172 44 143)
HSLhsl(313.59 59.26% 42.35%)
OKLCHoklch(0.53 0.19 338.76)
CMYKcmyk(0% 74.42% 16.86% 32.55%)
Android#ffac2c8f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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