Skip to content
Vectorlight.net

#df42c8

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

HEX
#df42c8
RGB
223, 66, 200
HSL
308.79°, 71.04%, 56.67%
OKLCH
0.65 0.24 334.53
Names
—
Lists

Codes

FormatValue
HEX#df42c8
RGBrgb(223 66 200)
HSLhsl(308.79 71.04% 56.67%)
OKLCHoklch(0.65 0.24 334.53)
CMYKcmyk(0% 70.4% 10.31% 12.55%)
Android#ffdf42c8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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