Skip to content

#ed2ace

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

RGB
237, 42, 206
HSL
310°, 84%, 55%
CMYK
0, 82, 13, 7
Luminance
0.2412

Every format

HEX#ed2ace
RGBrgb(237, 42, 206)
HSLhsl(310, 84%, 55%)
CMYKcmyk(0%, 82%, 13%, 7%)
LABlab(56.2 83.8 -40.0)
LCHlch(56.2 92.9 334.5)
OKLCHoklch(0.658 0.270 336.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ed2ace on white: 3.61:1
AA ✗ fail · AA-large · AAA
Aa
#ed2ace on black: 5.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green16.5%
Blue80.8%

CMYK percentages

Cyan0.0%
Magenta82.3%
Yellow13.1%
Key (black)7.1%

Color previews

#ed2ace text on a black background

contrast 5.82:1

Card sample

#ed2ace text on a white background

contrast 3.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ed2ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ed2ace in the Color Lab