Skip to content
Vectorlight.net

#a12e1f

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

HEX
#a12e1f
RGB
161, 46, 31
HSL
6.92°, 67.71%, 37.65%
OKLCH
0.48 0.15 30.76
Names
—
Lists

Codes

FormatValue
HEX#a12e1f
RGBrgb(161 46 31)
HSLhsl(6.92 67.71% 37.65%)
OKLCHoklch(0.48 0.15 30.76)
CMYKcmyk(0% 71.43% 80.75% 36.86%)
Android#ffa12e1f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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