Skip to content

#cd2fce

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

RGB
205, 47, 206
HSL
300°, 63%, 50%
CMYK
1, 77, 0, 19
Luminance
0.1947

Every format

HEX#cd2fce
RGBrgb(205, 47, 206)
HSLhsl(300, 63%, 50%)
CMYKcmyk(1%, 77%, 0%, 19%)
LABlab(51.2 76.4 -48.2)
LCHlch(51.2 90.3 327.7)
OKLCHoklch(0.613 0.251 327.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2fce on white: 4.29:1
AA ✗ fail · AA-large · AAA
Aa
#cd2fce on black: 4.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#cd2fce text on a black background

contrast 4.89:1

Card sample

#cd2fce text on a white background

contrast 4.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2fce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2fce in the Color Lab