Skip to content
Vectorlight.net

#cb18ba

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

HEX
#cb18ba
RGB
203, 24, 186
HSL
305.7°, 78.85%, 44.51%
OKLCH
0.59 0.25 333.06
Names
—
Lists

Codes

FormatValue
HEX#cb18ba
RGBrgb(203 24 186)
HSLhsl(305.7 78.85% 44.51%)
OKLCHoklch(0.59 0.25 333.06)
CMYKcmyk(0% 88.18% 8.37% 20.39%)
Android#ffcb18ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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