Skip to content
Vectorlight.net

#ac331b

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

HEX
#ac331b
RGB
172, 51, 27
HSL
9.93°, 72.86%, 39.02%
OKLCH
0.5 0.16 33.09
Names
—
Lists

Codes

FormatValue
HEX#ac331b
RGBrgb(172 51 27)
HSLhsl(9.93 72.86% 39.02%)
OKLCHoklch(0.5 0.16 33.09)
CMYKcmyk(0% 70.35% 84.3% 32.55%)
Android#ffac331b

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="#ac331b"
Gradient stop
<stop stop-color="#ac331b"/>
CSS variable + fill
:root { --c: #ac331b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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