Skip to content
Vectorlight.net

#df317c

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

HEX
#df317c
RGB
223, 49, 124
HSL
334.14°, 73.11%, 53.33%
OKLCH
0.61 0.21 0.35
Names
—
Lists

Codes

FormatValue
HEX#df317c
RGBrgb(223 49 124)
HSLhsl(334.14 73.11% 53.33%)
OKLCHoklch(0.61 0.21 0.35)
CMYKcmyk(0% 78.03% 44.39% 12.55%)
Android#ffdf317c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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