Skip to content
Vectorlight.net

#cd178c

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

HEX
#cd178c
RGB
205, 23, 140
HSL
321.43°, 79.82%, 44.71%
OKLCH
0.57 0.23 348.68
Names
—
Lists

Codes

FormatValue
HEX#cd178c
RGBrgb(205 23 140)
HSLhsl(321.43 79.82% 44.71%)
OKLCHoklch(0.57 0.23 348.68)
CMYKcmyk(0% 88.78% 31.71% 19.61%)
Android#ffcd178c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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