Skip to content
Vectorlight.net

#ac288e

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

HEX
#ac288e
RGB
172, 40, 142
HSL
313.64°, 62.26%, 41.57%
OKLCH
0.52 0.2 339.04
Names
—
Lists

Codes

FormatValue
HEX#ac288e
RGBrgb(172 40 142)
HSLhsl(313.64 62.26% 41.57%)
OKLCHoklch(0.52 0.2 339.04)
CMYKcmyk(0% 76.74% 17.44% 32.55%)
Android#ffac288e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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