Skip to content
Vectorlight.net

#cd398e

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

HEX
#cd398e
RGB
205, 57, 142
HSL
325.54°, 59.68%, 51.37%
OKLCH
0.59 0.2 349.78
Names
—
Lists

Codes

FormatValue
HEX#cd398e
RGBrgb(205 57 142)
HSLhsl(325.54 59.68% 51.37%)
OKLCHoklch(0.59 0.2 349.78)
CMYKcmyk(0% 72.2% 30.73% 19.61%)
Android#ffcd398e

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

Recolor an SVG with this color

CSS

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