Skip to content

#cc2ecf

a balanced, vivid magenta / pink · warm · closest name: magenta

RGB
204, 46, 207
HSL
299°, 64%, 50%
CMYK
1, 78, 0, 19
Luminance
0.1930

Every format

HEX#cc2ecf
RGBrgb(204, 46, 207)
HSLhsl(299, 64%, 50%)
CMYKcmyk(1%, 78%, 0%, 19%)
LABlab(51.0 76.6 -49.1)
LCHlch(51.0 91.0 327.3)
OKLCHoklch(0.611 0.253 327.3)

Copy-ready code

/* CSS */
color: #cc2ecf;
background-color: #cc2ecf;
/* Tailwind (arbitrary) */
class="text-[#cc2ecf] bg-[#cc2ecf]"
/* SCSS */
$brand: #cc2ecf;
/* SwiftUI */
Color(red: 0.800, green: 0.180, blue: 0.812)
/* Android */
Color.parseColor("#cc2ecf")

Accessibility — WCAG contrast

Aa
#cc2ecf on white: 4.32:1
AA ✗ fail · AA-large · AAA
Aa
#cc2ecf on black: 4.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green18.0%
Blue81.2%

CMYK percentages

Cyan1.4%
Magenta77.8%
Yellow0.0%
Key (black)18.8%

Color previews

#cc2ecf text on a black background

contrast 4.86:1

Card sample

#cc2ecf text on a white background

contrast 4.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cc2ecf;
Background color
Panel with #cc2ecf background
background-color: #cc2ecf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cc2ecf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(204, 46, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 46, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc2ecf;
background: linear-gradient(135deg, #cc2ecf, #CF2E67);

Monochromatic scale

Palettes built from #cc2ecf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc2ecf in the Color Lab