Skip to content
Vectorlight.net

#a40a66

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

HEX
#a40a66
RGB
164, 10, 102
HSL
324.16°, 88.51%, 34.12%
OKLCH
0.47 0.19 352.6
Names
—
Lists

Codes

FormatValue
HEX#a40a66
RGBrgb(164 10 102)
HSLhsl(324.16 88.51% 34.12%)
OKLCHoklch(0.47 0.19 352.6)
CMYKcmyk(0% 93.9% 37.8% 35.69%)
Android#ffa40a66

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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