Skip to content
Vectorlight.net

#cd018d

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

HEX
#cd018d
RGB
205, 1, 141
HSL
318.82°, 99.03%, 40.39%
OKLCH
0.56 0.24 347.88
Names
—
Lists

Codes

FormatValue
HEX#cd018d
RGBrgb(205 1 141)
HSLhsl(318.82 99.03% 40.39%)
OKLCHoklch(0.56 0.24 347.88)
CMYKcmyk(0% 99.51% 31.22% 19.61%)
Android#ffcd018d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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