Skip to content
Vectorlight.net

#a7121a

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

HEX
#a7121a
RGB
167, 18, 26
HSL
356.78°, 80.54%, 36.27%
OKLCH
0.47 0.18 26.21
Names
—
Lists

Codes

FormatValue
HEX#a7121a
RGBrgb(167 18 26)
HSLhsl(356.78 80.54% 36.27%)
OKLCHoklch(0.47 0.18 26.21)
CMYKcmyk(0% 89.22% 84.43% 34.51%)
Android#ffa7121a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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