Skip to content
Vectorlight.net

#cd338c

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

HEX
#cd338c
RGB
205, 51, 140
HSL
325.32°, 60.63%, 50.2%
OKLCH
0.58 0.21 350.11
Names
—
Lists

Codes

FormatValue
HEX#cd338c
RGBrgb(205 51 140)
HSLhsl(325.32 60.63% 50.2%)
OKLCHoklch(0.58 0.21 350.11)
CMYKcmyk(0% 75.12% 31.71% 19.61%)
Android#ffcd338c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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