Skip to content
Vectorlight.net

#cb24ab

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

HEX
#cb24ab
RGB
203, 36, 171
HSL
311.5°, 69.87%, 46.86%
OKLCH
0.58 0.24 337.78
Names
—
Lists

Codes

FormatValue
HEX#cb24ab
RGBrgb(203 36 171)
HSLhsl(311.5 69.87% 46.86%)
OKLCHoklch(0.58 0.24 337.78)
CMYKcmyk(0% 82.27% 15.76% 20.39%)
Android#ffcb24ab

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="#cb24ab"
Gradient stop
<stop stop-color="#cb24ab"/>
CSS variable + fill
:root { --c: #cb24ab; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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