Skip to content

#ed4df2

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

RGB
237, 77, 242
HSL
298°, 86%, 63%
CMYK
2, 68, 0, 5
Luminance
0.2972

Every format

HEX#ed4df2
RGBrgb(237, 77, 242)
HSLhsl(298, 86%, 63%)
CMYKcmyk(2%, 68%, 0%, 5%)
LABlab(61.4 79.4 -52.0)
LCHlch(61.4 94.9 326.8)
OKLCHoklch(0.702 0.263 326.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed4df2 on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#ed4df2 on black: 6.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green30.2%
Blue94.9%

CMYK percentages

Cyan2.1%
Magenta68.2%
Yellow0.0%
Key (black)5.1%

Color previews

#ed4df2 text on a black background

contrast 6.94:1

Card sample

#ed4df2 text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed4df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed4df2 in the Color Lab