Skip to content
Vectorlight.net

#d51faa

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

HEX
#d51faa
RGB
213, 31, 170
HSL
314.18°, 74.59%, 47.84%
OKLCH
0.6 0.24 340.67
Names
—
Lists

Codes

FormatValue
HEX#d51faa
RGBrgb(213 31 170)
HSLhsl(314.18 74.59% 47.84%)
OKLCHoklch(0.6 0.24 340.67)
CMYKcmyk(0% 85.45% 20.19% 16.47%)
Android#ffd51faa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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