Skip to content
Vectorlight.net

#ac399b

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

HEX
#ac399b
RGB
172, 57, 155
HSL
308.87°, 50.22%, 44.9%
OKLCH
0.54 0.19 334.25
Names
—
Lists

Codes

FormatValue
HEX#ac399b
RGBrgb(172 57 155)
HSLhsl(308.87 50.22% 44.9%)
OKLCHoklch(0.54 0.19 334.25)
CMYKcmyk(0% 66.86% 9.88% 32.55%)
Android#ffac399b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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