Skip to content
Vectorlight.net

#a6004e

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

HEX
#a6004e
RGB
166, 0, 78
HSL
331.81°, 100%, 32.55%
OKLCH
0.47 0.19 3.88
Names
—
Lists

Codes

FormatValue
HEX#a6004e
RGBrgb(166 0 78)
HSLhsl(331.81 100% 32.55%)
OKLCHoklch(0.47 0.19 3.88)
CMYKcmyk(0% 100% 53.01% 34.9%)
Android#ffa6004e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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