Skip to content
Vectorlight.net

#ac331c

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

HEX
#ac331c
RGB
172, 51, 28
HSL
9.58°, 72%, 39.22%
OKLCH
0.5 0.16 32.83
Names
—
Lists

Codes

FormatValue
HEX#ac331c
RGBrgb(172 51 28)
HSLhsl(9.58 72% 39.22%)
OKLCHoklch(0.5 0.16 32.83)
CMYKcmyk(0% 70.35% 83.72% 32.55%)
Android#ffac331c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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