Skip to content
Vectorlight.net

#cb52b8

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

HEX
#cb52b8
RGB
203, 82, 184
HSL
309.42°, 53.78%, 55.88%
OKLCH
0.63 0.19 334.2
Names
—
Lists

Codes

FormatValue
HEX#cb52b8
RGBrgb(203 82 184)
HSLhsl(309.42 53.78% 55.88%)
OKLCHoklch(0.63 0.19 334.2)
CMYKcmyk(0% 59.61% 9.36% 20.39%)
Android#ffcb52b8

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.86:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.43:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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