Skip to content
Vectorlight.net

#ac488e

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

HEX
#ac488e
RGB
172, 72, 142
HSL
318°, 40.98%, 47.84%
OKLCH
0.56 0.15 340.78
Names
—
Lists

Codes

FormatValue
HEX#ac488e
RGBrgb(172 72 142)
HSLhsl(318 40.98% 47.84%)
OKLCHoklch(0.56 0.15 340.78)
CMYKcmyk(0% 58.14% 17.44% 32.55%)
Android#ffac488e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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