Skip to content
Vectorlight.net

#cc2bba

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

HEX
#cc2bba
RGB
204, 43, 186
HSL
306.71°, 65.18%, 48.43%
OKLCH
0.6 0.24 333.39
Names
—
Lists

Codes

FormatValue
HEX#cc2bba
RGBrgb(204 43 186)
HSLhsl(306.71 65.18% 48.43%)
OKLCHoklch(0.6 0.24 333.39)
CMYKcmyk(0% 78.92% 8.82% 20%)
Android#ffcc2bba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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