Skip to content
Vectorlight.net

#df338b

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

HEX
#df338b
RGB
223, 51, 139
HSL
329.3°, 72.88%, 53.73%
OKLCH
0.61 0.22 354.8
Names
—
Lists

Codes

FormatValue
HEX#df338b
RGBrgb(223 51 139)
HSLhsl(329.3 72.88% 53.73%)
OKLCHoklch(0.61 0.22 354.8)
CMYKcmyk(0% 77.13% 37.67% 12.55%)
Android#ffdf338b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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