Skip to content
Vectorlight.net

#a7170a

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

HEX
#a7170a
RGB
167, 23, 10
HSL
4.97°, 88.7%, 34.71%
OKLCH
0.47 0.18 30.08
Names
—
Lists

Codes

FormatValue
HEX#a7170a
RGBrgb(167 23 10)
HSLhsl(4.97 88.7% 34.71%)
OKLCHoklch(0.47 0.18 30.08)
CMYKcmyk(0% 86.23% 94.01% 34.51%)
Android#ffa7170a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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