Skip to content
Vectorlight.net

#cd028d

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

HEX
#cd028d
RGB
205, 2, 141
HSL
318.92°, 98.07%, 40.59%
OKLCH
0.56 0.24 347.9
Names
—
Lists

Codes

FormatValue
HEX#cd028d
RGBrgb(205 2 141)
HSLhsl(318.92 98.07% 40.59%)
OKLCHoklch(0.56 0.24 347.9)
CMYKcmyk(0% 99.02% 31.22% 19.61%)
Android#ffcd028d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.26: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="#cd028d"
Gradient stop
<stop stop-color="#cd028d"/>
CSS variable + fill
:root { --c: #cd028d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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