Skip to content
Vectorlight.net

#df159b

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

HEX
#df159b
RGB
223, 21, 155
HSL
320.2°, 82.79%, 47.84%
OKLCH
0.6 0.25 347.77
Names
—
Lists

Codes

FormatValue
HEX#df159b
RGBrgb(223 21 155)
HSLhsl(320.2 82.79% 47.84%)
OKLCHoklch(0.6 0.25 347.77)
CMYKcmyk(0% 90.58% 30.49% 12.55%)
Android#ffdf159b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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