Skip to content
Vectorlight.net

#df228b

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

HEX
#df228b
RGB
223, 34, 139
HSL
326.67°, 74.7%, 50.39%
OKLCH
0.6 0.23 353.7
Names
—
Lists

Codes

FormatValue
HEX#df228b
RGBrgb(223 34 139)
HSLhsl(326.67 74.7% 50.39%)
OKLCHoklch(0.6 0.23 353.7)
CMYKcmyk(0% 84.75% 37.67% 12.55%)
Android#ffdf228b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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