Skip to content
Vectorlight.net

#cc26ba

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

HEX
#cc26ba
RGB
204, 38, 186
HSL
306.51°, 68.6%, 47.45%
OKLCH
0.59 0.24 333.37
Names
—
Lists

Codes

FormatValue
HEX#cc26ba
RGBrgb(204 38 186)
HSLhsl(306.51 68.6% 47.45%)
OKLCHoklch(0.59 0.24 333.37)
CMYKcmyk(0% 81.37% 8.82% 20%)
Android#ffcc26ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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