Skip to content

#ed2cfb

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

RGB
237, 44, 251
HSL
296°, 96%, 58%
CMYK
6, 83, 0, 2
Luminance
0.2677

Every format

HEX#ed2cfb
RGBrgb(237, 44, 251)
HSLhsl(296, 96%, 58%)
CMYKcmyk(6%, 83%, 0%, 2%)
LABlab(58.8 89.9 -61.3)
LCHlch(58.8 108.8 325.7)
OKLCHoklch(0.684 0.298 325.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed2cfb on white: 3.30:1
AA ✗ fail · AA-large · AAA
Aa
#ed2cfb on black: 6.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green17.3%
Blue98.4%

CMYK percentages

Cyan5.6%
Magenta82.5%
Yellow0.0%
Key (black)1.6%

Color previews

#ed2cfb text on a black background

contrast 6.35:1

Card sample

#ed2cfb text on a white background

contrast 3.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed2cfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed2cfb in the Color Lab