Skip to content
Vectorlight.net

#ac1502

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

HEX
#ac1502
RGB
172, 21, 2
HSL
6.71°, 97.7%, 34.12%
OKLCH
0.48 0.18 30.81
Names
—
Lists

Codes

FormatValue
HEX#ac1502
RGBrgb(172 21 2)
HSLhsl(6.71 97.7% 34.12%)
OKLCHoklch(0.48 0.18 30.81)
CMYKcmyk(0% 87.79% 98.84% 32.55%)
Android#ffac1502

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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