Skip to content
Vectorlight.net

#cb0366

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

HEX
#cb0366
RGB
203, 3, 102
HSL
330.3°, 97.09%, 40.39%
OKLCH
0.54 0.22 2.01
Names
—
Lists

Codes

FormatValue
HEX#cb0366
RGBrgb(203 3 102)
HSLhsl(330.3 97.09% 40.39%)
OKLCHoklch(0.54 0.22 2.01)
CMYKcmyk(0% 98.52% 49.75% 20.39%)
Android#ffcb0366

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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