Skip to content
Vectorlight.net

#cb337c

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

HEX
#cb337c
RGB
203, 51, 124
HSL
331.18°, 59.84%, 49.8%
OKLCH
0.57 0.2 356.21
Names
—
Lists

Codes

FormatValue
HEX#cb337c
RGBrgb(203 51 124)
HSLhsl(331.18 59.84% 49.8%)
OKLCHoklch(0.57 0.2 356.21)
CMYKcmyk(0% 74.88% 38.92% 20.39%)
Android#ffcb337c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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