Skip to content

#ed2cfd

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

RGB
237, 44, 253
HSL
295°, 98%, 58%
CMYK
6, 83, 0, 1
Luminance
0.2690

Every format

HEX#ed2cfd
RGBrgb(237, 44, 253)
HSLhsl(295, 98%, 58%)
CMYKcmyk(6%, 83%, 0%, 1%)
LABlab(58.9 90.2 -62.2)
LCHlch(58.9 109.6 325.4)
OKLCHoklch(0.686 0.299 324.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed2cfd on white: 3.29:1
AA ✗ fail · AA-large · AAA
Aa
#ed2cfd on black: 6.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green17.3%
Blue99.2%

CMYK percentages

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

Color previews

#ed2cfd text on a black background

contrast 6.38:1

Card sample

#ed2cfd text on a white background

contrast 3.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed2cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed2cfd in the Color Lab