Skip to content
Vectorlight.net

#ab402a

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

HEX
#ab402a
RGB
171, 64, 42
HSL
10.23°, 60.56%, 41.76%
OKLCH
0.52 0.15 33.4
Names
—
Lists

Codes

FormatValue
HEX#ab402a
RGBrgb(171 64 42)
HSLhsl(10.23 60.56% 41.76%)
OKLCHoklch(0.52 0.15 33.4)
CMYKcmyk(0% 62.57% 75.44% 32.94%)
Android#ffab402a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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