Skip to content

#eb4df9

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

RGB
235, 77, 249
HSL
295°, 94%, 64%
CMYK
6, 69, 0, 2
Luminance
0.2981

Every format

HEX#eb4df9
RGBrgb(235, 77, 249)
HSLhsl(295, 94%, 64%)
CMYKcmyk(6%, 69%, 0%, 2%)
LABlab(61.5 80.1 -55.8)
LCHlch(61.5 97.7 325.1)
OKLCHoklch(0.703 0.267 324.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb4df9 on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#eb4df9 on black: 6.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green30.2%
Blue97.6%

CMYK percentages

Cyan5.6%
Magenta69.1%
Yellow0.0%
Key (black)2.4%

Color previews

#eb4df9 text on a black background

contrast 6.96:1

Card sample

#eb4df9 text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb4df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb4df9 in the Color Lab