Skip to content
Vectorlight.net

#cc26bb

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

HEX
#cc26bb
RGB
204, 38, 187
HSL
306.14°, 68.6%, 47.45%
OKLCH
0.6 0.24 333.07
Names
—
Lists

Codes

FormatValue
HEX#cc26bb
RGBrgb(204 38 187)
HSLhsl(306.14 68.6% 47.45%)
OKLCHoklch(0.6 0.24 333.07)
CMYKcmyk(0% 81.37% 8.33% 20%)
Android#ffcc26bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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