Skip to content
Vectorlight.net

#cd52b8

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

HEX
#cd52b8
RGB
205, 82, 184
HSL
310.24°, 55.16%, 56.27%
OKLCH
0.63 0.19 334.85
Names
—
Lists

Codes

FormatValue
HEX#cd52b8
RGBrgb(205 82 184)
HSLhsl(310.24 55.16% 56.27%)
OKLCHoklch(0.63 0.19 334.85)
CMYKcmyk(0% 60% 10.24% 19.61%)
Android#ffcd52b8

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.82:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.49:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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