Skip to content
Vectorlight.net

#df2e8b

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

HEX
#df2e8b
RGB
223, 46, 139
HSL
328.47°, 73.44%, 52.75%
OKLCH
0.61 0.22 354.42
Names
—
Lists

Codes

FormatValue
HEX#df2e8b
RGBrgb(223 46 139)
HSLhsl(328.47 73.44% 52.75%)
OKLCHoklch(0.61 0.22 354.42)
CMYKcmyk(0% 79.37% 37.67% 12.55%)
Android#ffdf2e8b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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