Skip to content
Vectorlight.net

#a40147

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

HEX
#a40147
RGB
164, 1, 71
HSL
334.23°, 98.79%, 32.35%
OKLCH
0.46 0.18 6.75
Names
—
Lists

Codes

FormatValue
HEX#a40147
RGBrgb(164 1 71)
HSLhsl(334.23 98.79% 32.35%)
OKLCHoklch(0.46 0.18 6.75)
CMYKcmyk(0% 99.39% 56.71% 35.69%)
Android#ffa40147

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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