Skip to content
Vectorlight.net

#ad151b

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

HEX
#ad151b
RGB
173, 21, 27
HSL
357.63°, 78.35%, 38.04%
OKLCH
0.48 0.18 26.53
Names
—
Lists

Codes

FormatValue
HEX#ad151b
RGBrgb(173 21 27)
HSLhsl(357.63 78.35% 38.04%)
OKLCHoklch(0.48 0.18 26.53)
CMYKcmyk(0% 87.86% 84.39% 32.16%)
Android#ffad151b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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