Skip to content
Vectorlight.net

#a71f4e

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

HEX
#a71f4e
RGB
167, 31, 78
HSL
339.26°, 68.69%, 38.82%
OKLCH
0.48 0.17 6.69
Names
—
Lists

Codes

FormatValue
HEX#a71f4e
RGBrgb(167 31 78)
HSLhsl(339.26 68.69% 38.82%)
OKLCHoklch(0.48 0.17 6.69)
CMYKcmyk(0% 81.44% 53.29% 34.51%)
Android#ffa71f4e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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