Skip to content
Vectorlight.net

#cd407b

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

HEX
#cd407b
RGB
205, 64, 123
HSL
334.89°, 58.51%, 52.75%
OKLCH
0.59 0.18 358.8
Names
—
Lists

Codes

FormatValue
HEX#cd407b
RGBrgb(205 64 123)
HSLhsl(334.89 58.51% 52.75%)
OKLCHoklch(0.59 0.18 358.8)
CMYKcmyk(0% 68.78% 40% 19.61%)
Android#ffcd407b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.61:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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