Skip to content
Vectorlight.net

#cd21af

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

HEX
#cd21af
RGB
205, 33, 175
HSL
310.47°, 72.27%, 46.67%
OKLCH
0.59 0.24 337
Names
—
Lists

Codes

FormatValue
HEX#cd21af
RGBrgb(205 33 175)
HSLhsl(310.47 72.27% 46.67%)
OKLCHoklch(0.59 0.24 337)
CMYKcmyk(0% 83.9% 14.63% 19.61%)
Android#ffcd21af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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