Skip to content

#ed4dfd

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

RGB
237, 77, 253
HSL
295°, 98%, 65%
CMYK
6, 70, 0, 1
Luminance
0.3040

Every format

HEX#ed4dfd
RGBrgb(237, 77, 253)
HSLhsl(295, 98%, 65%)
CMYKcmyk(6%, 70%, 0%, 1%)
LABlab(62.0 81.2 -57.2)
LCHlch(62.0 99.3 324.8)
OKLCHoklch(0.708 0.271 324.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed4dfd on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#ed4dfd on black: 7.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green30.2%
Blue99.2%

CMYK percentages

Cyan6.3%
Magenta69.6%
Yellow0.0%
Key (black)0.8%

Color previews

#ed4dfd text on a black background

contrast 7.08:1

Card sample

#ed4dfd text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed4dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed4dfd in the Color Lab