Skip to content
Vectorlight.net

#cb02b6

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

HEX
#cb02b6
RGB
203, 2, 182
HSL
306.27°, 98.05%, 40.2%
OKLCH
0.58 0.26 334.2
Names
—
Lists

Codes

FormatValue
HEX#cb02b6
RGBrgb(203 2 182)
HSLhsl(306.27 98.05% 40.2%)
OKLCHoklch(0.58 0.26 334.2)
CMYKcmyk(0% 99.01% 10.34% 20.39%)
Android#ffcb02b6

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.97: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="#cb02b6"
Gradient stop
<stop stop-color="#cb02b6"/>
CSS variable + fill
:root { --c: #cb02b6; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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