Skip to content
Vectorlight.net

#df309e

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

HEX
#df309e
RGB
223, 48, 158
HSL
322.29°, 73.22%, 53.14%
OKLCH
0.62 0.23 347.7
Names
—
Lists

Codes

FormatValue
HEX#df309e
RGBrgb(223 48 158)
HSLhsl(322.29 73.22% 53.14%)
OKLCHoklch(0.62 0.23 347.7)
CMYKcmyk(0% 78.48% 29.15% 12.55%)
Android#ffdf309e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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