Skip to content

#eb2aff

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

RGB
235, 42, 255
HSL
294°, 100%, 58%
CMYK
8, 84, 0, 0
Luminance
0.2654

Every format

HEX#eb2aff
RGBrgb(235, 42, 255)
HSLhsl(294, 100%, 58%)
CMYKcmyk(8%, 84%, 0%, 0%)
LABlab(58.5 90.6 -63.9)
LCHlch(58.5 110.8 324.8)
OKLCHoklch(0.683 0.301 323.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green16.5%
Blue100.0%

CMYK percentages

Cyan7.8%
Magenta83.5%
Yellow0.0%
Key (black)0.0%

Color previews

#eb2aff text on a black background

contrast 6.31:1

Card sample

#eb2aff text on a white background

contrast 3.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2aff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2aff in the Color Lab