Skip to content
Vectorlight.net

#cb407c

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

HEX
#cb407c
RGB
203, 64, 124
HSL
334.1°, 57.2%, 52.35%
OKLCH
0.59 0.18 357.88
Names
—
Lists

Codes

FormatValue
HEX#cb407c
RGBrgb(203 64 124)
HSLhsl(334.1 57.2% 52.35%)
OKLCHoklch(0.59 0.18 357.88)
CMYKcmyk(0% 68.47% 38.92% 20.39%)
Android#ffcb407c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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