Skip to content
Vectorlight.net

#df227c

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

HEX
#df227c
RGB
223, 34, 124
HSL
331.43°, 74.7%, 50.39%
OKLCH
0.6 0.23 359.15
Names
—
Lists

Codes

FormatValue
HEX#df227c
RGBrgb(223 34 124)
HSLhsl(331.43 74.7% 50.39%)
OKLCHoklch(0.6 0.23 359.15)
CMYKcmyk(0% 84.75% 44.39% 12.55%)
Android#ffdf227c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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