Skip to content
Vectorlight.net

#ac22af

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

HEX
#ac22af
RGB
172, 34, 175
HSL
298.72°, 67.46%, 40.98%
OKLCH
0.54 0.23 327.19
Names
—
Lists

Codes

FormatValue
HEX#ac22af
RGBrgb(172 34 175)
HSLhsl(298.72 67.46% 40.98%)
OKLCHoklch(0.54 0.23 327.19)
CMYKcmyk(1.71% 80.57% 0% 31.37%)
Android#ffac22af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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