Skip to content
Vectorlight.net

#aa1731

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

HEX
#aa1731
RGB
170, 23, 49
HSL
349.39°, 76.17%, 37.84%
OKLCH
0.48 0.18 19.36
Names
—
Lists

Codes

FormatValue
HEX#aa1731
RGBrgb(170 23 49)
HSLhsl(349.39 76.17% 37.84%)
OKLCHoklch(0.48 0.18 19.36)
CMYKcmyk(0% 86.47% 71.18% 33.33%)
Android#ffaa1731

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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