Skip to content
Vectorlight.net

#a2231d

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

HEX
#a2231d
RGB
162, 35, 29
HSL
2.71°, 69.63%, 37.45%
OKLCH
0.47 0.16 28.23
Names
—
Lists

Codes

FormatValue
HEX#a2231d
RGBrgb(162 35 29)
HSLhsl(2.71 69.63% 37.45%)
OKLCHoklch(0.47 0.16 28.23)
CMYKcmyk(0% 78.4% 82.1% 36.47%)
Android#ffa2231d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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