Skip to content
Vectorlight.net

#ac146e

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

HEX
#ac146e
RGB
172, 20, 110
HSL
324.47°, 79.17%, 37.65%
OKLCH
0.5 0.19 351.74
Names
—
Lists

Codes

FormatValue
HEX#ac146e
RGBrgb(172 20 110)
HSLhsl(324.47 79.17% 37.65%)
OKLCHoklch(0.5 0.19 351.74)
CMYKcmyk(0% 88.37% 36.05% 32.55%)
Android#ffac146e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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