Skip to content
Vectorlight.net

#dc338e

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

HEX
#dc338e
RGB
220, 51, 142
HSL
327.69°, 70.71%, 53.14%
OKLCH
0.61 0.22 352.99
Names
—
Lists

Codes

FormatValue
HEX#dc338e
RGBrgb(220 51 142)
HSLhsl(327.69 70.71% 53.14%)
OKLCHoklch(0.61 0.22 352.99)
CMYKcmyk(0% 76.82% 35.45% 13.73%)
Android#ffdc338e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.27: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="#dc338e"
Gradient stop
<stop stop-color="#dc338e"/>
CSS variable + fill
:root { --c: #dc338e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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