Skip to content

#cd2fd9

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

RGB
205, 47, 217
HSL
296°, 69%, 52%
CMYK
6, 78, 0, 15
Luminance
0.2002

Every format

HEX#cd2fd9
RGBrgb(205, 47, 217)
HSLhsl(296, 69%, 52%)
CMYKcmyk(6%, 78%, 0%, 15%)
LABlab(51.9 78.1 -53.5)
LCHlch(51.9 94.7 325.6)
OKLCHoklch(0.620 0.259 324.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2fd9 on white: 4.20:1
AA ✗ fail · AA-large · AAA
Aa
#cd2fd9 on black: 5.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green18.4%
Blue85.1%

CMYK percentages

Cyan5.5%
Magenta78.3%
Yellow0.0%
Key (black)14.9%

Color previews

#cd2fd9 text on a black background

contrast 5.00:1

Card sample

#cd2fd9 text on a white background

contrast 4.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2fd9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2fd9 in the Color Lab