Skip to content
Vectorlight.net

#ac4878

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

HEX
#ac4878
RGB
172, 72, 120
HSL
331.2°, 40.98%, 47.84%
OKLCH
0.55 0.14 352.82
Names
—
Lists

Codes

FormatValue
HEX#ac4878
RGBrgb(172 72 120)
HSLhsl(331.2 40.98% 47.84%)
OKLCHoklch(0.55 0.14 352.82)
CMYKcmyk(0% 58.14% 30.23% 32.55%)
Android#ffac4878

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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