Skip to content
Vectorlight.net

#cd339c

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

HEX
#cd339c
RGB
205, 51, 156
HSL
319.09°, 60.63%, 50.2%
OKLCH
0.59 0.21 343.96
Names
—
Lists

Codes

FormatValue
HEX#cd339c
RGBrgb(205 51 156)
HSLhsl(319.09 60.63% 50.2%)
OKLCHoklch(0.59 0.21 343.96)
CMYKcmyk(0% 75.12% 23.9% 19.61%)
Android#ffcd339c

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

Recolor an SVG with this color

CSS

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