Skip to content

#eb40ff

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

RGB
235, 64, 255
HSL
294°, 100%, 63%
CMYK
8, 75, 0, 0
Luminance
0.2855

Every format

HEX#eb40ff
RGBrgb(235, 64, 255)
HSLhsl(294, 100%, 63%)
CMYKcmyk(8%, 75%, 0%, 0%)
LABlab(60.4 85.2 -60.9)
LCHlch(60.4 104.8 324.5)
OKLCHoklch(0.696 0.285 323.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb40ff on white: 3.13:1
AA ✗ fail · AA-large · AAA
Aa
#eb40ff on black: 6.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green25.1%
Blue100.0%

CMYK percentages

Cyan7.8%
Magenta74.9%
Yellow0.0%
Key (black)0.0%

Color previews

#eb40ff text on a black background

contrast 6.71:1

Card sample

#eb40ff text on a white background

contrast 3.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb40ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb40ff in the Color Lab