Skip to content

#cc2fcd

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

RGB
204, 47, 205
HSL
300°, 63%, 49%
CMYK
1, 77, 0, 20
Luminance
0.1928

Every format

HEX#cc2fcd
RGBrgb(204, 47, 205)
HSLhsl(300, 63%, 49%)
CMYKcmyk(1%, 77%, 0%, 20%)
LABlab(51.0 76.0 -48.0)
LCHlch(51.0 89.9 327.7)
OKLCHoklch(0.611 0.250 327.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green18.4%
Blue80.4%

CMYK percentages

Cyan0.5%
Magenta77.1%
Yellow0.0%
Key (black)19.6%

Color previews

#cc2fcd text on a black background

contrast 4.86:1

Card sample

#cc2fcd text on a white background

contrast 4.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc2fcd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc2fcd in the Color Lab