Skip to content

#cd2edf

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

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

Every format

HEX#cd2edf
RGBrgb(205, 46, 223)
HSLhsl(294, 73%, 53%)
CMYKcmyk(8%, 79%, 0%, 13%)
LABlab(52.1 79.4 -56.5)
LCHlch(52.1 97.4 324.6)
OKLCHoklch(0.623 0.265 323.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2edf on white: 4.16:1
AA ✗ fail · AA-large · AAA
Aa
#cd2edf on black: 5.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan8.1%
Magenta79.4%
Yellow0.0%
Key (black)12.5%

Color previews

#cd2edf text on a black background

contrast 5.05:1

Card sample

#cd2edf text on a white background

contrast 4.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2edf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd2edf in the Color Lab