Skip to content
Vectorlight.net

#cb12ba

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

HEX
#cb12ba
RGB
203, 18, 186
HSL
305.51°, 83.71%, 43.33%
OKLCH
0.58 0.26 333.06
Names
—
Lists

Codes

FormatValue
HEX#cb12ba
RGBrgb(203 18 186)
HSLhsl(305.51 83.71% 43.33%)
OKLCHoklch(0.58 0.26 333.06)
CMYKcmyk(0% 91.13% 8.37% 20.39%)
Android#ffcb12ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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