Skip to content
Vectorlight.net

#dc337e

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

HEX
#dc337e
RGB
220, 51, 126
HSL
333.37°, 70.71%, 53.14%
OKLCH
0.6 0.21 359.16
Names
—
Lists

Codes

FormatValue
HEX#dc337e
RGBrgb(220 51 126)
HSLhsl(333.37 70.71% 53.14%)
OKLCHoklch(0.6 0.21 359.16)
CMYKcmyk(0% 76.82% 42.73% 13.73%)
Android#ffdc337e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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