Skip to content

#cc2ccd

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

RGB
204, 44, 205
HSL
300°, 65%, 49%
CMYK
1, 79, 0, 20
Luminance
0.1905

Every format

HEX#cc2ccd
RGBrgb(204, 44, 205)
HSLhsl(300, 65%, 49%)
CMYKcmyk(1%, 79%, 0%, 20%)
LABlab(50.7 76.8 -48.4)
LCHlch(50.7 90.8 327.8)
OKLCHoklch(0.609 0.253 327.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc2ccd on white: 4.37:1
AA ✗ fail · AA-large · AAA
Aa
#cc2ccd on black: 4.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan0.5%
Magenta78.5%
Yellow0.0%
Key (black)19.6%

Color previews

#cc2ccd text on a black background

contrast 4.81:1

Card sample

#cc2ccd text on a white background

contrast 4.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc2ccd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc2ccd in the Color Lab