Skip to content
Vectorlight.net

#df008c

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

HEX
#df008c
RGB
223, 0, 140
HSL
322.33°, 100%, 43.73%
OKLCH
0.59 0.25 352.41
Names
—
Lists

Codes

FormatValue
HEX#df008c
RGBrgb(223 0 140)
HSLhsl(322.33 100% 43.73%)
OKLCHoklch(0.59 0.25 352.41)
CMYKcmyk(0% 100% 37.22% 12.55%)
Android#ffdf008c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.51:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

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