Skip to content
Vectorlight.net

#dc228b

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

HEX
#dc228b
RGB
220, 34, 139
HSL
326.13°, 73.23%, 49.8%
OKLCH
0.6 0.23 353.04
Names
—
Lists

Codes

FormatValue
HEX#dc228b
RGBrgb(220 34 139)
HSLhsl(326.13 73.23% 49.8%)
OKLCHoklch(0.6 0.23 353.04)
CMYKcmyk(0% 84.55% 36.82% 13.73%)
Android#ffdc228b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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