Skip to content

#cd2ecc

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

RGB
205, 46, 204
HSL
300°, 63%, 49%
CMYK
0, 78, 1, 20
Luminance
0.1929

Every format

HEX#cd2ecc
RGBrgb(205, 46, 204)
HSLhsl(300, 63%, 49%)
CMYKcmyk(0%, 78%, 1%, 20%)
LABlab(51.0 76.3 -47.4)
LCHlch(51.0 89.8 328.2)
OKLCHoklch(0.611 0.251 328.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#cd2ecc text on a black background

contrast 4.86:1

Card sample

#cd2ecc text on a white background

contrast 4.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2ecc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2ecc in the Color Lab