Skip to content
Vectorlight.net

#cd227d

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

HEX
#cd227d
RGB
205, 34, 125
HSL
328.07°, 71.55%, 46.86%
OKLCH
0.57 0.21 354.84
Names
—
Lists

Codes

FormatValue
HEX#cd227d
RGBrgb(205 34 125)
HSLhsl(328.07 71.55% 46.86%)
OKLCHoklch(0.57 0.21 354.84)
CMYKcmyk(0% 83.41% 39.02% 19.61%)
Android#ffcd227d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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