Skip to content
Vectorlight.net

#ac252d

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

HEX
#ac252d
RGB
172, 37, 45
HSL
356.44°, 64.59%, 40.98%
OKLCH
0.49 0.17 23.52
Names
—
Lists

Codes

FormatValue
HEX#ac252d
RGBrgb(172 37 45)
HSLhsl(356.44 64.59% 40.98%)
OKLCHoklch(0.49 0.17 23.52)
CMYKcmyk(0% 78.49% 73.84% 32.55%)
Android#ffac252d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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