Skip to content

#eb2eff

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

RGB
235, 46, 255
HSL
294°, 100%, 59%
CMYK
8, 82, 0, 0
Luminance
0.2684

Every format

HEX#eb2eff
RGBrgb(235, 46, 255)
HSLhsl(294, 100%, 59%)
CMYKcmyk(8%, 82%, 0%, 0%)
LABlab(58.8 89.8 -63.4)
LCHlch(58.8 109.9 324.8)
OKLCHoklch(0.685 0.299 323.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2eff on white: 3.30:1
AA ✗ fail · AA-large · AAA
Aa
#eb2eff on black: 6.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green18.0%
Blue100.0%

CMYK percentages

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

Color previews

#eb2eff text on a black background

contrast 6.37:1

Card sample

#eb2eff text on a white background

contrast 3.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2eff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2eff in the Color Lab