Skip to content
Vectorlight.net

#cd2e7b

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

HEX
#cd2e7b
RGB
205, 46, 123
HSL
330.94°, 63.35%, 49.22%
OKLCH
0.57 0.2 356.59
Names
—
Lists

Codes

FormatValue
HEX#cd2e7b
RGBrgb(205 46 123)
HSLhsl(330.94 63.35% 49.22%)
OKLCHoklch(0.57 0.2 356.59)
CMYKcmyk(0% 77.56% 40% 19.61%)
Android#ffcd2e7b

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

Recolor an SVG with this color

CSS

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