Skip to content
Vectorlight.net

#a40140

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

HEX
#a40140
RGB
164, 1, 64
HSL
336.81°, 98.79%, 32.35%
OKLCH
0.46 0.18 10
Names
—
Lists

Codes

FormatValue
HEX#a40140
RGBrgb(164 1 64)
HSLhsl(336.81 98.79% 32.35%)
OKLCHoklch(0.46 0.18 10)
CMYKcmyk(0% 99.39% 60.98% 35.69%)
Android#ffa40140

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
7.90: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="#a40140"
Gradient stop
<stop stop-color="#a40140"/>
CSS variable + fill
:root { --c: #a40140; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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