Skip to content
Vectorlight.net

#a0271c

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

HEX
#a0271c
RGB
160, 39, 28
HSL
5°, 70.21%, 36.86%
OKLCH
0.47 0.16 29.58
Names
—
Lists

Codes

FormatValue
HEX#a0271c
RGBrgb(160 39 28)
HSLhsl(5 70.21% 36.86%)
OKLCHoklch(0.47 0.16 29.58)
CMYKcmyk(0% 75.63% 82.5% 37.25%)
Android#ffa0271c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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