Skip to content
Vectorlight.net

#ab271c

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

HEX
#ab271c
RGB
171, 39, 28
HSL
4.62°, 71.86%, 39.02%
OKLCH
0.49 0.17 29.47
Names
—
Lists

Codes

FormatValue
HEX#ab271c
RGBrgb(171 39 28)
HSLhsl(4.62 71.86% 39.02%)
OKLCHoklch(0.49 0.17 29.47)
CMYKcmyk(0% 77.19% 83.63% 32.94%)
Android#ffab271c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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