Skip to content
Vectorlight.net

#ac70bc

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

HEX
#ac70bc
RGB
172, 112, 188
HSL
287.37°, 36.19%, 58.82%
OKLCH
0.64 0.13 318.99
Names
—
Lists

Codes

FormatValue
HEX#ac70bc
RGBrgb(172 112 188)
HSLhsl(287.37 36.19% 58.82%)
OKLCHoklch(0.64 0.13 318.99)
CMYKcmyk(8.51% 40.43% 0% 26.27%)
Android#ffac70bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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