Skip to content
Vectorlight.net

#cd2d7e

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

HEX
#cd2d7e
RGB
205, 45, 126
HSL
329.63°, 64%, 49.02%
OKLCH
0.57 0.21 355.27
Names
—
Lists

Codes

FormatValue
HEX#cd2d7e
RGBrgb(205 45 126)
HSLhsl(329.63 64% 49.02%)
OKLCHoklch(0.57 0.21 355.27)
CMYKcmyk(0% 78.05% 38.54% 19.61%)
Android#ffcd2d7e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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