Skip to content
Vectorlight.net

#df027a

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

HEX
#df027a
RGB
223, 2, 122
HSL
327.42°, 98.22%, 44.12%
OKLCH
0.59 0.24 358.67
Names
—
Lists

Codes

FormatValue
HEX#df027a
RGBrgb(223 2 122)
HSLhsl(327.42 98.22% 44.12%)
OKLCHoklch(0.59 0.24 358.67)
CMYKcmyk(0% 99.1% 45.29% 12.55%)
Android#ffdf027a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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