Skip to content
Vectorlight.net

#d34fab

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

HEX
#d34fab
RGB
211, 79, 171
HSL
318.18°, 60%, 56.86%
OKLCH
0.63 0.19 341.53
Names
—
Lists

Codes

FormatValue
HEX#d34fab
RGBrgb(211 79 171)
HSLhsl(318.18 60% 56.86%)
OKLCHoklch(0.63 0.19 341.53)
CMYKcmyk(0% 62.56% 18.96% 17.25%)
Android#ffd34fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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