Skip to content

#ed5dfd

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

RGB
237, 93, 253
HSL
294°, 98%, 68%
CMYK
6, 63, 0, 1
Luminance
0.3293

Every format

HEX#ed5dfd
RGBrgb(237, 93, 253)
HSLhsl(294, 98%, 68%)
CMYKcmyk(6%, 63%, 0%, 1%)
LABlab(64.1 75.3 -53.9)
LCHlch(64.1 92.6 324.4)
OKLCHoklch(0.723 0.252 323.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed5dfd on white: 2.77:1
AA ✗ fail · AA-large · AAA
Aa
#ed5dfd on black: 7.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green36.5%
Blue99.2%

CMYK percentages

Cyan6.3%
Magenta63.2%
Yellow0.0%
Key (black)0.8%

Color previews

#ed5dfd text on a black background

contrast 7.59:1

Card sample

#ed5dfd text on a white background

contrast 2.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed5dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed5dfd in the Color Lab