Skip to content
Vectorlight.net

#cb2397

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

HEX
#cb2397
RGB
203, 35, 151
HSL
318.57°, 70.59%, 46.67%
OKLCH
0.57 0.22 344.59
Names
—
Lists

Codes

FormatValue
HEX#cb2397
RGBrgb(203 35 151)
HSLhsl(318.57 70.59% 46.67%)
OKLCHoklch(0.57 0.22 344.59)
CMYKcmyk(0% 82.76% 25.62% 20.39%)
Android#ffcb2397

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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