Skip to content

#ed2cf0

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

RGB
237, 44, 240
HSL
299°, 87%, 56%
CMYK
1, 82, 0, 6
Luminance
0.2610

Every format

HEX#ed2cf0
RGBrgb(237, 44, 240)
HSLhsl(299, 87%, 56%)
CMYKcmyk(1%, 82%, 0%, 6%)
LABlab(58.1 88.2 -56.1)
LCHlch(58.1 104.6 327.5)
OKLCHoklch(0.678 0.290 327.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed2cf0 on white: 3.38:1
AA ✗ fail · AA-large · AAA
Aa
#ed2cf0 on black: 6.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green17.3%
Blue94.1%

CMYK percentages

Cyan1.2%
Magenta81.7%
Yellow0.0%
Key (black)5.9%

Color previews

#ed2cf0 text on a black background

contrast 6.22:1

Card sample

#ed2cf0 text on a white background

contrast 3.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed2cf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed2cf0 in the Color Lab