Skip to content
Vectorlight.net

#cd156e

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

HEX
#cd156e
RGB
205, 21, 110
HSL
330.98°, 81.42%, 44.31%
OKLCH
0.56 0.22 359.99
Names
—
Lists

Codes

FormatValue
HEX#cd156e
RGBrgb(205 21 110)
HSLhsl(330.98 81.42% 44.31%)
OKLCHoklch(0.56 0.22 359.99)
CMYKcmyk(0% 89.76% 46.34% 19.61%)
Android#ffcd156e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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