Skip to content

#eb30fc

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

RGB
235, 48, 252
HSL
295°, 97%, 59%
CMYK
7, 81, 0, 1
Luminance
0.2680

Every format

HEX#eb30fc
RGBrgb(235, 48, 252)
HSLhsl(295, 97%, 59%)
CMYKcmyk(7%, 81%, 0%, 1%)
LABlab(58.8 88.8 -61.8)
LCHlch(58.8 108.2 325.2)
OKLCHoklch(0.684 0.295 324.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb30fc on white: 3.30:1
AA ✗ fail · AA-large · AAA
Aa
#eb30fc on black: 6.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green18.8%
Blue98.8%

CMYK percentages

Cyan6.7%
Magenta81.0%
Yellow0.0%
Key (black)1.2%

Color previews

#eb30fc text on a black background

contrast 6.36:1

Card sample

#eb30fc text on a white background

contrast 3.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb30fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb30fc in the Color Lab