Skip to content
Vectorlight.net

#cd238c

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

HEX
#cd238c
RGB
205, 35, 140
HSL
322.94°, 70.83%, 47.06%
OKLCH
0.57 0.22 349.14
Names
—
Lists

Codes

FormatValue
HEX#cd238c
RGBrgb(205 35 140)
HSLhsl(322.94 70.83% 47.06%)
OKLCHoklch(0.57 0.22 349.14)
CMYKcmyk(0% 82.93% 31.71% 19.61%)
Android#ffcd238c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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