Skip to content
Vectorlight.net

#df319a

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

HEX
#df319a
RGB
223, 49, 154
HSL
323.79°, 73.11%, 53.33%
OKLCH
0.62 0.23 349.16
Names
—
Lists

Codes

FormatValue
HEX#df319a
RGBrgb(223 49 154)
HSLhsl(323.79 73.11% 53.33%)
OKLCHoklch(0.62 0.23 349.16)
CMYKcmyk(0% 78.03% 30.94% 12.55%)
Android#ffdf319a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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