Skip to content
Vectorlight.net

#d5318d

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

HEX
#d5318d
RGB
213, 49, 141
HSL
326.34°, 66.13%, 51.37%
OKLCH
0.6 0.21 351.57
Names
—
Lists

Codes

FormatValue
HEX#d5318d
RGBrgb(213 49 141)
HSLhsl(326.34 66.13% 51.37%)
OKLCHoklch(0.6 0.21 351.57)
CMYKcmyk(0% 77% 33.8% 16.47%)
Android#ffd5318d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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