Skip to content
Vectorlight.net

#df238e

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

HEX
#df238e
RGB
223, 35, 142
HSL
325.85°, 74.6%, 50.59%
OKLCH
0.6 0.23 352.69
Names
—
Lists

Codes

FormatValue
HEX#df238e
RGBrgb(223 35 142)
HSLhsl(325.85 74.6% 50.59%)
OKLCHoklch(0.6 0.23 352.69)
CMYKcmyk(0% 84.3% 36.32% 12.55%)
Android#ffdf238e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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