Skip to content

#eb2edd

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

RGB
235, 46, 221
HSL
304°, 83%, 55%
CMYK
0, 80, 6, 8
Luminance
0.2484

Every format

HEX#eb2edd
RGBrgb(235, 46, 221)
HSLhsl(304, 83%, 55%)
CMYKcmyk(0%, 80%, 6%, 8%)
LABlab(56.9 84.7 -47.4)
LCHlch(56.9 97.0 330.7)
OKLCHoklch(0.665 0.276 331.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2edd on white: 3.52:1
AA ✗ fail · AA-large · AAA
Aa
#eb2edd on black: 5.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green18.0%
Blue86.7%

CMYK percentages

Cyan0.0%
Magenta80.4%
Yellow6.0%
Key (black)7.8%

Color previews

#eb2edd text on a black background

contrast 5.97:1

Card sample

#eb2edd text on a white background

contrast 3.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 46, 221, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 46, 221, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eb2edd;
background: linear-gradient(135deg, #eb2edd, #EB2E5F);

Monochromatic scale

Palettes built from #eb2edd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2edd in the Color Lab