Skip to content
Vectorlight.net

#cc26ac

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

HEX
#cc26ac
RGB
204, 38, 172
HSL
311.57°, 68.6%, 47.45%
OKLCH
0.59 0.24 337.76
Names
—
Lists

Codes

FormatValue
HEX#cc26ac
RGBrgb(204 38 172)
HSLhsl(311.57 68.6% 47.45%)
OKLCHoklch(0.59 0.24 337.76)
CMYKcmyk(0% 81.37% 15.69% 20%)
Android#ffcc26ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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