Skip to content
Vectorlight.net

#ac154c

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

HEX
#ac154c
RGB
172, 21, 76
HSL
338.15°, 78.24%, 37.84%
OKLCH
0.49 0.18 7.53
Names
—
Lists

Codes

FormatValue
HEX#ac154c
RGBrgb(172 21 76)
HSLhsl(338.15 78.24% 37.84%)
OKLCHoklch(0.49 0.18 7.53)
CMYKcmyk(0% 87.79% 55.81% 32.55%)
Android#ffac154c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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