Skip to content
Vectorlight.net

#ac277d

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

HEX
#ac277d
RGB
172, 39, 125
HSL
321.2°, 63.03%, 41.37%
OKLCH
0.51 0.19 346.19
Names
—
Lists

Codes

FormatValue
HEX#ac277d
RGBrgb(172 39 125)
HSLhsl(321.2 63.03% 41.37%)
OKLCHoklch(0.51 0.19 346.19)
CMYKcmyk(0% 77.33% 27.33% 32.55%)
Android#ffac277d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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