Skip to content
Vectorlight.net

#ac98bb

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

HEX
#ac98bb
RGB
172, 152, 187
HSL
274.29°, 20.47%, 66.47%
OKLCH
0.71 0.05 310.61
Names
—
Lists

Codes

FormatValue
HEX#ac98bb
RGBrgb(172 152 187)
HSLhsl(274.29 20.47% 66.47%)
OKLCHoklch(0.71 0.05 310.61)
CMYKcmyk(8.02% 18.72% 0% 26.67%)
Android#ffac98bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.63:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.96:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#ac98bb"
Gradient stop
<stop stop-color="#ac98bb"/>
CSS variable + fill
:root { --c: #ac98bb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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