Skip to content
Vectorlight.net

#ac042c

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

HEX
#ac042c
RGB
172, 4, 44
HSL
345.71°, 95.45%, 34.51%
OKLCH
0.47 0.19 19.72
Names
—
Lists

Codes

FormatValue
HEX#ac042c
RGBrgb(172 4 44)
HSLhsl(345.71 95.45% 34.51%)
OKLCHoklch(0.47 0.19 19.72)
CMYKcmyk(0% 97.67% 74.42% 32.55%)
Android#ffac042c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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