Skip to content
Vectorlight.net

#a8212e

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

HEX
#a8212e
RGB
168, 33, 46
HSL
354.22°, 67.16%, 39.41%
OKLCH
0.48 0.17 22.02
Names
—
Lists

Codes

FormatValue
HEX#a8212e
RGBrgb(168 33 46)
HSLhsl(354.22 67.16% 39.41%)
OKLCHoklch(0.48 0.17 22.02)
CMYKcmyk(0% 80.36% 72.62% 34.12%)
Android#ffa8212e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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