Skip to content
Vectorlight.net

#d406ab

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

HEX
#d406ab
RGB
212, 6, 171
HSL
311.94°, 94.5%, 42.75%
OKLCH
0.59 0.25 339.84
Names
—
Lists

Codes

FormatValue
HEX#d406ab
RGBrgb(212 6 171)
HSLhsl(311.94 94.5% 42.75%)
OKLCHoklch(0.59 0.25 339.84)
CMYKcmyk(0% 97.17% 19.34% 16.86%)
Android#ffd406ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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