Skip to content
Vectorlight.net

#cd309e

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

HEX
#cd309e
RGB
205, 48, 158
HSL
317.96°, 62.06%, 49.61%
OKLCH
0.59 0.22 343.1
Names
—
Lists

Codes

FormatValue
HEX#cd309e
RGBrgb(205 48 158)
HSLhsl(317.96 62.06% 49.61%)
OKLCHoklch(0.59 0.22 343.1)
CMYKcmyk(0% 76.59% 22.93% 19.61%)
Android#ffcd309e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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