Skip to content
Vectorlight.net

#ab301e

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

HEX
#ab301e
RGB
171, 48, 30
HSL
7.66°, 70.15%, 39.41%
OKLCH
0.5 0.16 31.38
Names
—
Lists

Codes

FormatValue
HEX#ab301e
RGBrgb(171 48 30)
HSLhsl(7.66 70.15% 39.41%)
OKLCHoklch(0.5 0.16 31.38)
CMYKcmyk(0% 71.93% 82.46% 32.94%)
Android#ffab301e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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