Skip to content
Vectorlight.net

#cd397c

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

HEX
#cd397c
RGB
205, 57, 124
HSL
332.84°, 59.68%, 51.37%
OKLCH
0.58 0.19 357.38
Names
—
Lists

Codes

FormatValue
HEX#cd397c
RGBrgb(205 57 124)
HSLhsl(332.84 59.68% 51.37%)
OKLCHoklch(0.58 0.19 357.38)
CMYKcmyk(0% 72.2% 39.51% 19.61%)
Android#ffcd397c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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