Skip to content
Vectorlight.net

#dc397d

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

HEX
#dc397d
RGB
220, 57, 125
HSL
334.97°, 69.96%, 54.31%
OKLCH
0.61 0.2 0.23
Names
—
Lists

Codes

FormatValue
HEX#dc397d
RGBrgb(220 57 125)
HSLhsl(334.97 69.96% 54.31%)
OKLCHoklch(0.61 0.2 0.23)
CMYKcmyk(0% 74.09% 43.18% 13.73%)
Android#ffdc397d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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