Skip to content
Vectorlight.net

#cd399e

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

HEX
#cd399e
RGB
205, 57, 158
HSL
319.05°, 59.68%, 51.37%
OKLCH
0.6 0.21 343.51
Names
—
Lists

Codes

FormatValue
HEX#cd399e
RGBrgb(205 57 158)
HSLhsl(319.05 59.68% 51.37%)
OKLCHoklch(0.6 0.21 343.51)
CMYKcmyk(0% 72.2% 22.93% 19.61%)
Android#ffcd399e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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