Skip to content

#eb2dfb

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

RGB
235, 45, 251
HSL
295°, 96%, 58%
CMYK
6, 82, 0, 2
Luminance
0.2650

Every format

HEX#eb2dfb
RGBrgb(235, 45, 251)
HSLhsl(295, 96%, 58%)
CMYKcmyk(6%, 82%, 0%, 2%)
LABlab(58.5 89.3 -61.7)
LCHlch(58.5 108.6 325.4)
OKLCHoklch(0.682 0.297 324.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2dfb on white: 3.33:1
AA ✗ fail · AA-large · AAA
Aa
#eb2dfb on black: 6.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green17.6%
Blue98.4%

CMYK percentages

Cyan6.4%
Magenta82.1%
Yellow0.0%
Key (black)1.6%

Color previews

#eb2dfb text on a black background

contrast 6.30:1

Card sample

#eb2dfb text on a white background

contrast 3.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2dfb in the Color Lab