Skip to content
Vectorlight.net

#ac342b

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

HEX
#ac342b
RGB
172, 52, 43
HSL
4.19°, 60%, 42.16%
OKLCH
0.5 0.16 28.34
Names
—
Lists

Codes

FormatValue
HEX#ac342b
RGBrgb(172 52 43)
HSLhsl(4.19 60% 42.16%)
OKLCHoklch(0.5 0.16 28.34)
CMYKcmyk(0% 69.77% 75% 32.55%)
Android#ffac342b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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