Skip to content

#ed4dfb

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

RGB
237, 77, 251
HSL
295°, 96%, 64%
CMYK
6, 69, 0, 2
Luminance
0.3028

Every format

HEX#ed4dfb
RGBrgb(237, 77, 251)
HSLhsl(295, 96%, 64%)
CMYKcmyk(6%, 69%, 0%, 2%)
LABlab(61.9 80.9 -56.3)
LCHlch(61.9 98.5 325.2)
OKLCHoklch(0.707 0.269 324.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed4dfb on white: 2.98:1
AA ✗ fail · AA-large · AAA
Aa
#ed4dfb on black: 7.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green30.2%
Blue98.4%

CMYK percentages

Cyan5.6%
Magenta69.3%
Yellow0.0%
Key (black)1.6%

Color previews

#ed4dfb text on a black background

contrast 7.06:1

Card sample

#ed4dfb text on a white background

contrast 2.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed4dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed4dfb in the Color Lab