Skip to content
Vectorlight.net

#cb0c8f

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

HEX
#cb0c8f
RGB
203, 12, 143
HSL
318.85°, 88.84%, 42.16%
OKLCH
0.56 0.23 346.85
Names
—
Lists

Codes

FormatValue
HEX#cb0c8f
RGBrgb(203 12 143)
HSLhsl(318.85 88.84% 42.16%)
OKLCHoklch(0.56 0.23 346.85)
CMYKcmyk(0% 94.09% 29.56% 20.39%)
Android#ffcb0c8f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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