Skip to content
Vectorlight.net

#a1272d

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

HEX
#a1272d
RGB
161, 39, 45
HSL
357.05°, 61%, 39.22%
OKLCH
0.47 0.16 23.31
Names
—
Lists

Codes

FormatValue
HEX#a1272d
RGBrgb(161 39 45)
HSLhsl(357.05 61% 39.22%)
OKLCHoklch(0.47 0.16 23.31)
CMYKcmyk(0% 75.78% 72.05% 36.86%)
Android#ffa1272d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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