Skip to content
Vectorlight.net

#cb0397

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

HEX
#cb0397
RGB
203, 3, 151
HSL
315.6°, 97.09%, 40.39%
OKLCH
0.56 0.24 343.97
Names
—
Lists

Codes

FormatValue
HEX#cb0397
RGBrgb(203 3 151)
HSLhsl(315.6 97.09% 40.39%)
OKLCHoklch(0.56 0.24 343.97)
CMYKcmyk(0% 98.52% 25.62% 20.39%)
Android#ffcb0397

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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