Skip to content
Vectorlight.net

#a8071a

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

HEX
#a8071a
RGB
168, 7, 26
HSL
352.92°, 92%, 34.31%
OKLCH
0.46 0.18 25.23
Names
—
Lists

Codes

FormatValue
HEX#a8071a
RGBrgb(168 7 26)
HSLhsl(352.92 92% 34.31%)
OKLCHoklch(0.46 0.18 25.23)
CMYKcmyk(0% 95.83% 84.52% 34.12%)
Android#ffa8071a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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