Skip to content
Vectorlight.net

#d51fce

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

HEX
#d51fce
RGB
213, 31, 206
HSL
302.31°, 74.59%, 47.84%
OKLCH
0.62 0.27 330.1
Names
—
Lists

Codes

FormatValue
HEX#d51fce
RGBrgb(213 31 206)
HSLhsl(302.31 74.59% 47.84%)
OKLCHoklch(0.62 0.27 330.1)
CMYKcmyk(0% 85.45% 3.29% 16.47%)
Android#ffd51fce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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