Skip to content
Vectorlight.net

#a1291f

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

HEX
#a1291f
RGB
161, 41, 31
HSL
4.62°, 67.71%, 37.65%
OKLCH
0.47 0.16 29.19
Names
—
Lists

Codes

FormatValue
HEX#a1291f
RGBrgb(161 41 31)
HSLhsl(4.62 67.71% 37.65%)
OKLCHoklch(0.47 0.16 29.19)
CMYKcmyk(0% 74.53% 80.75% 36.86%)
Android#ffa1291f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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