Skip to content
Vectorlight.net

#d5307c

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

HEX
#d5307c
RGB
213, 48, 124
HSL
332.36°, 66.27%, 51.18%
OKLCH
0.59 0.21 358.17
Names
—
Lists

Codes

FormatValue
HEX#d5307c
RGBrgb(213 48 124)
HSLhsl(332.36 66.27% 51.18%)
OKLCHoklch(0.59 0.21 358.17)
CMYKcmyk(0% 77.46% 41.78% 16.47%)
Android#ffd5307c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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