Skip to content

#eb2fd2

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

RGB
235, 47, 210
HSL
308°, 83%, 55%
CMYK
0, 80, 11, 8
Luminance
0.2435

Every format

HEX#eb2fd2
RGBrgb(235, 47, 210)
HSLhsl(308, 83%, 55%)
CMYKcmyk(0%, 80%, 11%, 8%)
LABlab(56.4 82.9 -41.9)
LCHlch(56.4 92.9 333.2)
OKLCHoklch(0.660 0.268 334.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2fd2 on white: 3.58:1
AA ✗ fail · AA-large · AAA
Aa
#eb2fd2 on black: 5.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green18.4%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta80.0%
Yellow10.6%
Key (black)7.8%

Color previews

#eb2fd2 text on a black background

contrast 5.87:1

Card sample

#eb2fd2 text on a white background

contrast 3.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2fd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2fd2 in the Color Lab