Skip to content

#cd2ece

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

RGB
205, 46, 206
HSL
300°, 64%, 49%
CMYK
1, 78, 0, 19
Luminance
0.1939

Every format

HEX#cd2ece
RGBrgb(205, 46, 206)
HSLhsl(300, 64%, 49%)
CMYKcmyk(1%, 78%, 0%, 19%)
LABlab(51.1 76.6 -48.4)
LCHlch(51.1 90.6 327.8)
OKLCHoklch(0.612 0.252 327.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2ece on white: 4.31:1
AA ✗ fail · AA-large · AAA
Aa
#cd2ece on black: 4.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan0.5%
Magenta77.7%
Yellow0.0%
Key (black)19.2%

Color previews

#cd2ece text on a black background

contrast 4.88:1

Card sample

#cd2ece text on a white background

contrast 4.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2ece

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2ece in the Color Lab