Skip to content

#ed2fdf

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

RGB
237, 47, 223
HSL
304°, 84%, 56%
CMYK
0, 80, 6, 7
Luminance
0.2537

Every format

HEX#ed2fdf
RGBrgb(237, 47, 223)
HSLhsl(304, 84%, 56%)
CMYKcmyk(0%, 80%, 6%, 7%)
LABlab(57.4 85.1 -47.7)
LCHlch(57.4 97.6 330.7)
OKLCHoklch(0.670 0.277 331.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed2fdf on white: 3.46:1
AA ✗ fail · AA-large · AAA
Aa
#ed2fdf on black: 6.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green18.4%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta80.2%
Yellow5.9%
Key (black)7.1%

Color previews

#ed2fdf text on a black background

contrast 6.07:1

Card sample

#ed2fdf text on a white background

contrast 3.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed2fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed2fdf in the Color Lab