Skip to content
Vectorlight.net

#ad271b

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

HEX
#ad271b
RGB
173, 39, 27
HSL
4.93°, 73%, 39.22%
OKLCH
0.49 0.17 29.72
Names
—
Lists

Codes

FormatValue
HEX#ad271b
RGBrgb(173 39 27)
HSLhsl(4.93 73% 39.22%)
OKLCHoklch(0.49 0.17 29.72)
CMYKcmyk(0% 77.46% 84.39% 32.16%)
Android#ffad271b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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