Skip to content

#eb4dfd

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

RGB
235, 77, 253
HSL
294°, 98%, 65%
CMYK
7, 70, 0, 1
Luminance
0.3006

Every format

HEX#eb4dfd
RGBrgb(235, 77, 253)
HSLhsl(294, 98%, 65%)
CMYKcmyk(7%, 70%, 0%, 1%)
LABlab(61.7 80.8 -57.7)
LCHlch(61.7 99.3 324.5)
OKLCHoklch(0.705 0.270 323.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb4dfd on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#eb4dfd on black: 7.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green30.2%
Blue99.2%

CMYK percentages

Cyan7.1%
Magenta69.6%
Yellow0.0%
Key (black)0.8%

Color previews

#eb4dfd text on a black background

contrast 7.01:1

Card sample

#eb4dfd text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb4dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb4dfd in the Color Lab