Skip to content

#cd2fdf

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

RGB
205, 47, 223
HSL
294°, 73%, 53%
CMYK
8, 79, 0, 13
Luminance
0.2034

Every format

HEX#cd2fdf
RGBrgb(205, 47, 223)
HSLhsl(294, 73%, 53%)
CMYKcmyk(8%, 79%, 0%, 13%)
LABlab(52.2 79.1 -56.3)
LCHlch(52.2 97.1 324.5)
OKLCHoklch(0.623 0.264 323.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2fdf on white: 4.14:1
AA ✗ fail · AA-large · AAA
Aa
#cd2fdf on black: 5.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green18.4%
Blue87.5%

CMYK percentages

Cyan8.1%
Magenta78.9%
Yellow0.0%
Key (black)12.5%

Color previews

#cd2fdf text on a black background

contrast 5.07:1

Card sample

#cd2fdf text on a white background

contrast 4.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2fdf in the Color Lab