Skip to content

#cc2ccc

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

RGB
204, 44, 204
HSL
300°, 65%, 49%
CMYK
0, 78, 0, 20
Luminance
0.1900

Every format

HEX#cc2ccc
RGBrgb(204, 44, 204)
HSLhsl(300, 65%, 49%)
CMYKcmyk(0%, 78%, 0%, 20%)
LABlab(50.7 76.7 -47.9)
LCHlch(50.7 90.4 328.0)
OKLCHoklch(0.608 0.252 328.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc2ccc on white: 4.38:1
AA ✗ fail · AA-large · AAA
Aa
#cc2ccc on black: 4.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green17.3%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta78.4%
Yellow0.0%
Key (black)20.0%

Color previews

#cc2ccc text on a black background

contrast 4.80:1

Card sample

#cc2ccc text on a white background

contrast 4.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc2ccc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc2ccc in the Color Lab