Skip to content

#ed2df4

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

RGB
237, 45, 244
HSL
298°, 90%, 57%
CMYK
3, 82, 0, 4
Luminance
0.2641

Every format

HEX#ed2df4
RGBrgb(237, 45, 244)
HSLhsl(298, 90%, 57%)
CMYKcmyk(3%, 82%, 0%, 4%)
LABlab(58.4 88.6 -57.9)
LCHlch(58.4 105.9 326.8)
OKLCHoklch(0.681 0.293 326.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed2df4 on white: 3.34:1
AA ✗ fail · AA-large · AAA
Aa
#ed2df4 on black: 6.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green17.6%
Blue95.7%

CMYK percentages

Cyan2.9%
Magenta81.6%
Yellow0.0%
Key (black)4.3%

Color previews

#ed2df4 text on a black background

contrast 6.28:1

Card sample

#ed2df4 text on a white background

contrast 3.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed2df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed2df4 in the Color Lab