Skip to content
Vectorlight.net

#a2242a

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

HEX
#a2242a
RGB
162, 36, 42
HSL
357.14°, 63.64%, 38.82%
OKLCH
0.47 0.16 23.86
Names
—
Lists

Codes

FormatValue
HEX#a2242a
RGBrgb(162 36 42)
HSLhsl(357.14 63.64% 38.82%)
OKLCHoklch(0.47 0.16 23.86)
CMYKcmyk(0% 77.78% 74.07% 36.47%)
Android#ffa2242a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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