Skip to content
Vectorlight.net

#ac302b

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

HEX
#ac302b
RGB
172, 48, 43
HSL
2.33°, 60%, 42.16%
OKLCH
0.5 0.16 27.09
Names
—
Lists

Codes

FormatValue
HEX#ac302b
RGBrgb(172 48 43)
HSLhsl(2.33 60% 42.16%)
OKLCHoklch(0.5 0.16 27.09)
CMYKcmyk(0% 72.09% 75% 32.55%)
Android#ffac302b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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