Skip to content
Vectorlight.net

#cc2dba

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

HEX
#cc2dba
RGB
204, 45, 186
HSL
306.79°, 63.86%, 48.82%
OKLCH
0.6 0.24 333.4
Names
—
Lists

Codes

FormatValue
HEX#cc2dba
RGBrgb(204 45 186)
HSLhsl(306.79 63.86% 48.82%)
OKLCHoklch(0.6 0.24 333.4)
CMYKcmyk(0% 77.94% 8.82% 20%)
Android#ffcc2dba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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