Skip to content
Vectorlight.net

#d64fab

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

HEX
#d64fab
RGB
214, 79, 171
HSL
319.11°, 62.21%, 57.45%
OKLCH
0.64 0.2 342.4
Names
—
Lists

Codes

FormatValue
HEX#d64fab
RGBrgb(214 79 171)
HSLhsl(319.11 62.21% 57.45%)
OKLCHoklch(0.64 0.2 342.4)
CMYKcmyk(0% 63.08% 20.09% 16.08%)
Android#ffd64fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.77:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.56:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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