Skip to content
Vectorlight.net

#cd1d98

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

HEX
#cd1d98
RGB
205, 29, 152
HSL
318.07°, 75.21%, 45.88%
OKLCH
0.58 0.23 344.58
Names
—
Lists

Codes

FormatValue
HEX#cd1d98
RGBrgb(205 29 152)
HSLhsl(318.07 75.21% 45.88%)
OKLCHoklch(0.58 0.23 344.58)
CMYKcmyk(0% 85.85% 25.85% 19.61%)
Android#ffcd1d98

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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