Skip to content
Vectorlight.net

#cd398d

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

HEX
#cd398d
RGB
205, 57, 141
HSL
325.95°, 59.68%, 51.37%
OKLCH
0.59 0.2 350.19
Names
—
Lists

Codes

FormatValue
HEX#cd398d
RGBrgb(205 57 141)
HSLhsl(325.95 59.68% 51.37%)
OKLCHoklch(0.59 0.2 350.19)
CMYKcmyk(0% 72.2% 31.22% 19.61%)
Android#ffcd398d

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

Recolor an SVG with this color

CSS

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