Skip to content
Vectorlight.net

#a2134a

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

HEX
#a2134a
RGB
162, 19, 74
HSL
336.92°, 79.01%, 35.49%
OKLCH
0.47 0.18 6.12
Names
—
Lists

Codes

FormatValue
HEX#a2134a
RGBrgb(162 19 74)
HSLhsl(336.92 79.01% 35.49%)
OKLCHoklch(0.47 0.18 6.12)
CMYKcmyk(0% 88.27% 54.32% 36.47%)
Android#ffa2134a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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