Skip to content

#ed2fd2

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

RGB
237, 47, 210
HSL
309°, 84%, 56%
CMYK
0, 80, 11, 7
Luminance
0.2469

Every format

HEX#ed2fd2
RGBrgb(237, 47, 210)
HSLhsl(309, 84%, 56%)
CMYKcmyk(0%, 80%, 11%, 7%)
LABlab(56.8 83.3 -41.4)
LCHlch(56.8 93.0 333.6)
OKLCHoklch(0.663 0.269 335.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed2fd2 on white: 3.54:1
AA ✗ fail · AA-large · AAA
Aa
#ed2fd2 on black: 5.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green18.4%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta80.2%
Yellow11.4%
Key (black)7.1%

Color previews

#ed2fd2 text on a black background

contrast 5.94:1

Card sample

#ed2fd2 text on a white background

contrast 3.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed2fd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed2fd2 in the Color Lab