Skip to content
Vectorlight.net

#df307c

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

HEX
#df307c
RGB
223, 48, 124
HSL
333.94°, 73.22%, 53.14%
OKLCH
0.61 0.22 0.26
Names
—
Lists

Codes

FormatValue
HEX#df307c
RGBrgb(223 48 124)
HSLhsl(333.94 73.22% 53.14%)
OKLCHoklch(0.61 0.22 0.26)
CMYKcmyk(0% 78.48% 44.39% 12.55%)
Android#ffdf307c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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