Skip to content
Vectorlight.net

#dc227d

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

HEX
#dc227d
RGB
220, 34, 125
HSL
330.65°, 73.23%, 49.8%
OKLCH
0.59 0.22 358.17
Names
—
Lists

Codes

FormatValue
HEX#dc227d
RGBrgb(220 34 125)
HSLhsl(330.65 73.23% 49.8%)
OKLCHoklch(0.59 0.22 358.17)
CMYKcmyk(0% 84.55% 43.18% 13.73%)
Android#ffdc227d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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