Skip to content
Vectorlight.net

#ac52af

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

HEX
#ac52af
RGB
172, 82, 175
HSL
298.06°, 36.76%, 50.39%
OKLCH
0.58 0.17 326.21
Names
—
Lists

Codes

FormatValue
HEX#ac52af
RGBrgb(172 82 175)
HSLhsl(298.06 36.76% 50.39%)
OKLCHoklch(0.58 0.17 326.21)
CMYKcmyk(1.71% 53.14% 0% 31.37%)
Android#ffac52af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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