Skip to content
Vectorlight.net

#cd238f

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

HEX
#cd238f
RGB
205, 35, 143
HSL
321.88°, 70.83%, 47.06%
OKLCH
0.57 0.22 348.02
Names
—
Lists

Codes

FormatValue
HEX#cd238f
RGBrgb(205 35 143)
HSLhsl(321.88 70.83% 47.06%)
OKLCHoklch(0.57 0.22 348.02)
CMYKcmyk(0% 82.93% 30.24% 19.61%)
Android#ffcd238f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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