Skip to content
Vectorlight.net

#cb02af

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

HEX
#cb02af
RGB
203, 2, 175
HSL
308.36°, 98.05%, 40.2%
OKLCH
0.58 0.25 336.28
Names
—
Lists

Codes

FormatValue
HEX#cb02af
RGBrgb(203 2 175)
HSLhsl(308.36 98.05% 40.2%)
OKLCHoklch(0.58 0.25 336.28)
CMYKcmyk(0% 99.01% 13.79% 20.39%)
Android#ffcb02af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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