Skip to content
Vectorlight.net

#ac127e

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

HEX
#ac127e
RGB
172, 18, 126
HSL
317.92°, 81.05%, 37.25%
OKLCH
0.5 0.2 344.85
Names
—
Lists

Codes

FormatValue
HEX#ac127e
RGBrgb(172 18 126)
HSLhsl(317.92 81.05% 37.25%)
OKLCHoklch(0.5 0.2 344.85)
CMYKcmyk(0% 89.53% 26.74% 32.55%)
Android#ffac127e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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