Skip to content

#eb2dff

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

RGB
235, 45, 255
HSL
294°, 100%, 59%
CMYK
8, 82, 0, 0
Luminance
0.2676

Every format

HEX#eb2dff
RGBrgb(235, 45, 255)
HSLhsl(294, 100%, 59%)
CMYKcmyk(8%, 82%, 0%, 0%)
LABlab(58.8 90.0 -63.5)
LCHlch(58.8 110.1 324.8)
OKLCHoklch(0.684 0.299 323.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2dff on white: 3.31:1
AA ✗ fail · AA-large · AAA
Aa
#eb2dff on black: 6.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green17.6%
Blue100.0%

CMYK percentages

Cyan7.8%
Magenta82.4%
Yellow0.0%
Key (black)0.0%

Color previews

#eb2dff text on a black background

contrast 6.35:1

Card sample

#eb2dff text on a white background

contrast 3.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2dff in the Color Lab