Skip to content
Vectorlight.net

#cd306f

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

HEX
#cd306f
RGB
205, 48, 111
HSL
335.92°, 62.06%, 49.61%
OKLCH
0.57 0.2 1.85
Names
—
Lists

Codes

FormatValue
HEX#cd306f
RGBrgb(205 48 111)
HSLhsl(335.92 62.06% 49.61%)
OKLCHoklch(0.57 0.2 1.85)
CMYKcmyk(0% 76.59% 45.85% 19.61%)
Android#ffcd306f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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