Skip to content
Vectorlight.net

#ac548b

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

HEX
#ac548b
RGB
172, 84, 139
HSL
322.5°, 34.65%, 50.2%
OKLCH
0.57 0.13 343.8
Names
—
Lists

Codes

FormatValue
HEX#ac548b
RGBrgb(172 84 139)
HSLhsl(322.5 34.65% 50.2%)
OKLCHoklch(0.57 0.13 343.8)
CMYKcmyk(0% 51.16% 19.19% 32.55%)
Android#ffac548b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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