Skip to content
Vectorlight.net

#ac281b

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

HEX
#ac281b
RGB
172, 40, 27
HSL
5.38°, 72.86%, 39.02%
OKLCH
0.49 0.17 29.97
Names
—
Lists

Codes

FormatValue
HEX#ac281b
RGBrgb(172 40 27)
HSLhsl(5.38 72.86% 39.02%)
OKLCHoklch(0.49 0.17 29.97)
CMYKcmyk(0% 76.74% 84.3% 32.55%)
Android#ffac281b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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