Skip to content
Vectorlight.net

#a31d2d

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

HEX
#a31d2d
RGB
163, 29, 45
HSL
352.84°, 69.79%, 37.65%
OKLCH
0.47 0.17 21.22
Names
—
Lists

Codes

FormatValue
HEX#a31d2d
RGBrgb(163 29 45)
HSLhsl(352.84 69.79% 37.65%)
OKLCHoklch(0.47 0.17 21.22)
CMYKcmyk(0% 82.21% 72.39% 36.08%)
Android#ffa31d2d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
7.57: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="#a31d2d"
Gradient stop
<stop stop-color="#a31d2d"/>
CSS variable + fill
:root { --c: #a31d2d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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