Skip to content
Vectorlight.net

#cb017e

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

HEX
#cb017e
RGB
203, 1, 126
HSL
322.87°, 99.02%, 40%
OKLCH
0.55 0.23 352.8
Names
—
Lists

Codes

FormatValue
HEX#cb017e
RGBrgb(203 1 126)
HSLhsl(322.87 99.02% 40%)
OKLCHoklch(0.55 0.23 352.8)
CMYKcmyk(0% 99.51% 37.93% 20.39%)
Android#ffcb017e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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