Skip to content
Vectorlight.net

#ac127c

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

HEX
#ac127c
RGB
172, 18, 124
HSL
318.7°, 81.05%, 37.25%
OKLCH
0.5 0.2 345.67
Names
—
Lists

Codes

FormatValue
HEX#ac127c
RGBrgb(172 18 124)
HSLhsl(318.7 81.05% 37.25%)
OKLCHoklch(0.5 0.2 345.67)
CMYKcmyk(0% 89.53% 27.91% 32.55%)
Android#ffac127c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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