Skip to content
Vectorlight.net

#ac0780

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

HEX
#ac0780
RGB
172, 7, 128
HSL
316°, 92.18%, 35.1%
OKLCH
0.5 0.21 343.82
Names
—
Lists

Codes

FormatValue
HEX#ac0780
RGBrgb(172 7 128)
HSLhsl(316 92.18% 35.1%)
OKLCHoklch(0.5 0.21 343.82)
CMYKcmyk(0% 95.93% 25.58% 32.55%)
Android#ffac0780

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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