Skip to content
Vectorlight.net

#df40a6

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

HEX
#df40a6
RGB
223, 64, 166
HSL
321.51°, 71.3%, 56.27%
OKLCH
0.63 0.22 345.75
Names
—
Lists

Codes

FormatValue
HEX#df40a6
RGBrgb(223 64 166)
HSLhsl(321.51 71.3% 56.27%)
OKLCHoklch(0.63 0.22 345.75)
CMYKcmyk(0% 71.3% 25.56% 12.55%)
Android#ffdf40a6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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