Skip to content

#cc2ccf

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

RGB
204, 44, 207
HSL
299°, 65%, 49%
CMYK
1, 79, 0, 19
Luminance
0.1914

Every format

HEX#cc2ccf
RGBrgb(204, 44, 207)
HSLhsl(299, 65%, 49%)
CMYKcmyk(1%, 79%, 0%, 19%)
LABlab(50.9 77.1 -49.4)
LCHlch(50.9 91.6 327.4)
OKLCHoklch(0.610 0.254 327.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc2ccf on white: 4.35:1
AA ✗ fail · AA-large · AAA
Aa
#cc2ccf on black: 4.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green17.3%
Blue81.2%

CMYK percentages

Cyan1.4%
Magenta78.7%
Yellow0.0%
Key (black)18.8%

Color previews

#cc2ccf text on a black background

contrast 4.83:1

Card sample

#cc2ccf text on a white background

contrast 4.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc2ccf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc2ccf in the Color Lab