Skip to content
Vectorlight.net

#cb407a

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

HEX
#cb407a
RGB
203, 64, 122
HSL
334.96°, 57.2%, 52.35%
OKLCH
0.59 0.18 358.79
Names
—
Lists

Codes

FormatValue
HEX#cb407a
RGBrgb(203 64 122)
HSLhsl(334.96 57.2% 52.35%)
OKLCHoklch(0.59 0.18 358.79)
CMYKcmyk(0% 68.47% 39.9% 20.39%)
Android#ffcb407a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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