Skip to content
Vectorlight.net

#cb0398

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

HEX
#cb0398
RGB
203, 3, 152
HSL
315.3°, 97.09%, 40.39%
OKLCH
0.56 0.24 343.63
Names
—
Lists

Codes

FormatValue
HEX#cb0398
RGBrgb(203 3 152)
HSLhsl(315.3 97.09% 40.39%)
OKLCHoklch(0.56 0.24 343.63)
CMYKcmyk(0% 98.52% 25.12% 20.39%)
Android#ffcb0398

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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