Skip to content
Vectorlight.net

#cb408a

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

HEX
#cb408a
RGB
203, 64, 138
HSL
328.06°, 57.2%, 52.35%
OKLCH
0.59 0.19 351.63
Names
—
Lists

Codes

FormatValue
HEX#cb408a
RGBrgb(203 64 138)
HSLhsl(328.06 57.2% 52.35%)
OKLCHoklch(0.59 0.19 351.63)
CMYKcmyk(0% 68.47% 32.02% 20.39%)
Android#ffcb408a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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