Skip to content
Vectorlight.net

#ac127b

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

HEX
#ac127b
RGB
172, 18, 123
HSL
319.09°, 81.05%, 37.25%
OKLCH
0.5 0.2 346.08
Names
—
Lists

Codes

FormatValue
HEX#ac127b
RGBrgb(172 18 123)
HSLhsl(319.09 81.05% 37.25%)
OKLCHoklch(0.5 0.2 346.08)
CMYKcmyk(0% 89.53% 28.49% 32.55%)
Android#ffac127b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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