Skip to content
Vectorlight.net

#a40539

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

HEX
#a40539
RGB
164, 5, 57
HSL
340.38°, 94.08%, 33.14%
OKLCH
0.46 0.18 13.45
Names
—
Lists

Codes

FormatValue
HEX#a40539
RGBrgb(164 5 57)
HSLhsl(340.38 94.08% 33.14%)
OKLCHoklch(0.46 0.18 13.45)
CMYKcmyk(0% 96.95% 65.24% 35.69%)
Android#ffa40539

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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