Skip to content
Vectorlight.net

#dc237a

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

HEX
#dc237a
RGB
220, 35, 122
HSL
331.78°, 72.55%, 50%
OKLCH
0.59 0.22 359.35
Names
—
Lists

Codes

FormatValue
HEX#dc237a
RGBrgb(220 35 122)
HSLhsl(331.78 72.55% 50%)
OKLCHoklch(0.59 0.22 359.35)
CMYKcmyk(0% 84.09% 44.55% 13.73%)
Android#ffdc237a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.60:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.56:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

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