Skip to content
Vectorlight.net

#a71c4e

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

HEX
#a71c4e
RGB
167, 28, 78
HSL
338.42°, 71.28%, 38.24%
OKLCH
0.48 0.17 6.28
Names
—
Lists

Codes

FormatValue
HEX#a71c4e
RGBrgb(167 28 78)
HSLhsl(338.42 71.28% 38.24%)
OKLCHoklch(0.48 0.17 6.28)
CMYKcmyk(0% 83.23% 53.29% 34.51%)
Android#ffa71c4e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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