Skip to content
Vectorlight.net

#cb0462

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

HEX
#cb0462
RGB
203, 4, 98
HSL
331.66°, 96.14%, 40.59%
OKLCH
0.54 0.22 3.6
Names
—
Lists

Codes

FormatValue
HEX#cb0462
RGBrgb(203 4 98)
HSLhsl(331.66 96.14% 40.59%)
OKLCHoklch(0.54 0.22 3.6)
CMYKcmyk(0% 98.03% 51.72% 20.39%)
Android#ffcb0462

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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