Skip to content
Vectorlight.net

#cd398a

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

HEX
#cd398a
RGB
205, 57, 138
HSL
327.16°, 59.68%, 51.37%
OKLCH
0.59 0.2 351.43
Names
—
Lists

Codes

FormatValue
HEX#cd398a
RGBrgb(205 57 138)
HSLhsl(327.16 59.68% 51.37%)
OKLCHoklch(0.59 0.2 351.43)
CMYKcmyk(0% 72.2% 32.68% 19.61%)
Android#ffcd398a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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