Skip to content
Vectorlight.net

#df128e

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

HEX
#df128e
RGB
223, 18, 142
HSL
323.71°, 85.06%, 47.25%
OKLCH
0.6 0.24 352.07
Names
—
Lists

Codes

FormatValue
HEX#df128e
RGBrgb(223 18 142)
HSLhsl(323.71 85.06% 47.25%)
OKLCHoklch(0.6 0.24 352.07)
CMYKcmyk(0% 91.93% 36.32% 12.55%)
Android#ffdf128e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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