Skip to content
Vectorlight.net

#ac397c

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

HEX
#ac397c
RGB
172, 57, 124
HSL
325.04°, 50.22%, 44.9%
OKLCH
0.53 0.17 348.25
Names
—
Lists

Codes

FormatValue
HEX#ac397c
RGBrgb(172 57 124)
HSLhsl(325.04 50.22% 44.9%)
OKLCHoklch(0.53 0.17 348.25)
CMYKcmyk(0% 66.86% 27.91% 32.55%)
Android#ffac397c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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