Skip to content

#eb1afd

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

RGB
235, 26, 253
HSL
295°, 98%, 55%
CMYK
7, 90, 0, 1
Luminance
0.2549

Every format

HEX#eb1afd
RGBrgb(235, 26, 253)
HSLhsl(295, 98%, 55%)
CMYKcmyk(7%, 90%, 0%, 1%)
LABlab(57.6 92.8 -64.3)
LCHlch(57.6 113.0 325.3)
OKLCHoklch(0.676 0.308 324.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb1afd on white: 3.44:1
AA ✗ fail · AA-large · AAA
Aa
#eb1afd on black: 6.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green10.2%
Blue99.2%

CMYK percentages

Cyan7.1%
Magenta89.7%
Yellow0.0%
Key (black)0.8%

Color previews

#eb1afd text on a black background

contrast 6.10:1

Card sample

#eb1afd text on a white background

contrast 3.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb1afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb1afd in the Color Lab