Skip to content

#eb0ff2

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

RGB
235, 15, 242
HSL
298°, 90%, 50%
CMYK
3, 94, 0, 5
Luminance
0.2441

Every format

HEX#eb0ff2
RGBrgb(235, 15, 242)
HSLhsl(298, 90%, 50%)
CMYKcmyk(3%, 94%, 0%, 5%)
LABlab(56.5 92.3 -59.9)
LCHlch(56.5 110.1 327.0)
OKLCHoklch(0.666 0.304 326.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb0ff2 on white: 3.57:1
AA ✗ fail · AA-large · AAA
Aa
#eb0ff2 on black: 5.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green5.9%
Blue94.9%

CMYK percentages

Cyan2.9%
Magenta93.8%
Yellow0.0%
Key (black)5.1%

Color previews

#eb0ff2 text on a black background

contrast 5.88:1

Card sample

#eb0ff2 text on a white background

contrast 3.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb0ff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb0ff2 in the Color Lab