Skip to content
Vectorlight.net

#df128a

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

HEX
#df128a
RGB
223, 18, 138
HSL
324.88°, 85.06%, 47.25%
OKLCH
0.6 0.24 353.45
Names
—
Lists

Codes

FormatValue
HEX#df128a
RGBrgb(223 18 138)
HSLhsl(324.88 85.06% 47.25%)
OKLCHoklch(0.6 0.24 353.45)
CMYKcmyk(0% 91.93% 38.12% 12.55%)
Android#ffdf128a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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