Skip to content

#eb2fd9

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

RGB
235, 47, 217
HSL
306°, 83%, 55%
CMYK
0, 80, 8, 8
Luminance
0.2470

Every format

HEX#eb2fd9
RGBrgb(235, 47, 217)
HSLhsl(306, 83%, 55%)
CMYKcmyk(0%, 80%, 8%, 8%)
LABlab(56.8 83.9 -45.4)
LCHlch(56.8 95.3 331.6)
OKLCHoklch(0.664 0.272 332.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2fd9 on white: 3.53:1
AA ✗ fail · AA-large · AAA
Aa
#eb2fd9 on black: 5.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green18.4%
Blue85.1%

CMYK percentages

Cyan0.0%
Magenta80.0%
Yellow7.7%
Key (black)7.8%

Color previews

#eb2fd9 text on a black background

contrast 5.94:1

Card sample

#eb2fd9 text on a white background

contrast 3.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2fd9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2fd9 in the Color Lab