Skip to content
Vectorlight.net

#a7150a

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

HEX
#a7150a
RGB
167, 21, 10
HSL
4.2°, 88.7%, 34.71%
OKLCH
0.47 0.18 29.8
Names
—
Lists

Codes

FormatValue
HEX#a7150a
RGBrgb(167 21 10)
HSLhsl(4.2 88.7% 34.71%)
OKLCHoklch(0.47 0.18 29.8)
CMYKcmyk(0% 87.43% 94.01% 34.51%)
Android#ffa7150a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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