Skip to content
Vectorlight.net

#a22b2e

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

HEX
#a22b2e
RGB
162, 43, 46
HSL
358.49°, 58.05%, 40.2%
OKLCH
0.48 0.16 24.06
Names
—
Lists

Codes

FormatValue
HEX#a22b2e
RGBrgb(162 43 46)
HSLhsl(358.49 58.05% 40.2%)
OKLCHoklch(0.48 0.16 24.06)
CMYKcmyk(0% 73.46% 71.6% 36.47%)
Android#ffa22b2e

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

Recolor an SVG with this color

CSS

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