Skip to content
Vectorlight.net

#a40e4f

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

HEX
#a40e4f
RGB
164, 14, 79
HSL
334°, 84.27%, 34.9%
OKLCH
0.47 0.18 3.73
Names
—
Lists

Codes

FormatValue
HEX#a40e4f
RGBrgb(164 14 79)
HSLhsl(334 84.27% 34.9%)
OKLCHoklch(0.47 0.18 3.73)
CMYKcmyk(0% 91.46% 51.83% 35.69%)
Android#ffa40e4f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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