Skip to content
Vectorlight.net

#df2a7d

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

HEX
#df2a7d
RGB
223, 42, 125
HSL
332.49°, 73.88%, 51.96%
OKLCH
0.6 0.22 359.35
Names
—
Lists

Codes

FormatValue
HEX#df2a7d
RGBrgb(223 42 125)
HSLhsl(332.49 73.88% 51.96%)
OKLCHoklch(0.6 0.22 359.35)
CMYKcmyk(0% 81.17% 43.95% 12.55%)
Android#ffdf2a7d

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="#df2a7d"
Gradient stop
<stop stop-color="#df2a7d"/>
CSS variable + fill
:root { --c: #df2a7d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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