Skip to content
Vectorlight.net

#d51caa

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

HEX
#d51caa
RGB
213, 28, 170
HSL
313.95°, 76.76%, 47.25%
OKLCH
0.6 0.25 340.62
Names
—
Lists

Codes

FormatValue
HEX#d51caa
RGBrgb(213 28 170)
HSLhsl(313.95 76.76% 47.25%)
OKLCHoklch(0.6 0.25 340.62)
CMYKcmyk(0% 86.85% 20.19% 16.47%)
Android#ffd51caa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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