Skip to content
Vectorlight.net

#dc338d

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

HEX
#dc338d
RGB
220, 51, 141
HSL
328.05°, 70.71%, 53.14%
OKLCH
0.61 0.22 353.37
Names
—
Lists

Codes

FormatValue
HEX#dc338d
RGBrgb(220 51 141)
HSLhsl(328.05 70.71% 53.14%)
OKLCHoklch(0.61 0.22 353.37)
CMYKcmyk(0% 76.82% 35.91% 13.73%)
Android#ffdc338d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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