Skip to content

#eb2df9

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

RGB
235, 45, 249
HSL
296°, 94%, 58%
CMYK
6, 82, 0, 2
Luminance
0.2638

Every format

HEX#eb2df9
RGBrgb(235, 45, 249)
HSLhsl(296, 94%, 58%)
CMYKcmyk(6%, 82%, 0%, 2%)
LABlab(58.4 89.0 -60.8)
LCHlch(58.4 107.8 325.7)
OKLCHoklch(0.681 0.295 324.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2df9 on white: 3.35:1
AA ✗ fail · AA-large · AAA
Aa
#eb2df9 on black: 6.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green17.6%
Blue97.6%

CMYK percentages

Cyan5.6%
Magenta81.9%
Yellow0.0%
Key (black)2.4%

Color previews

#eb2df9 text on a black background

contrast 6.28:1

Card sample

#eb2df9 text on a white background

contrast 3.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2df9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2df9 in the Color Lab