Skip to content
Vectorlight.net

#ac0470

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

HEX
#ac0470
RGB
172, 4, 112
HSL
321.43°, 95.45%, 34.51%
OKLCH
0.49 0.2 350.33
Names
—
Lists

Codes

FormatValue
HEX#ac0470
RGBrgb(172 4 112)
HSLhsl(321.43 95.45% 34.51%)
OKLCHoklch(0.49 0.2 350.33)
CMYKcmyk(0% 97.67% 34.88% 32.55%)
Android#ffac0470

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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