Skip to content
Vectorlight.net

#cd17ab

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

HEX
#cd17ab
RGB
205, 23, 171
HSL
311.21°, 79.82%, 44.71%
OKLCH
0.58 0.24 338.16
Names
—
Lists

Codes

FormatValue
HEX#cd17ab
RGBrgb(205 23 171)
HSLhsl(311.21 79.82% 44.71%)
OKLCHoklch(0.58 0.24 338.16)
CMYKcmyk(0% 88.78% 16.59% 19.61%)
Android#ffcd17ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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