Skip to content

#eb20fc

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

RGB
235, 32, 252
HSL
295°, 97%, 56%
CMYK
7, 87, 0, 1
Luminance
0.2572

Every format

HEX#eb20fc
RGBrgb(235, 32, 252)
HSLhsl(295, 97%, 56%)
CMYKcmyk(7%, 87%, 0%, 1%)
LABlab(57.8 91.8 -63.4)
LCHlch(57.8 111.6 325.4)
OKLCHoklch(0.677 0.305 324.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb20fc on white: 3.42:1
AA ✗ fail · AA-large · AAA
Aa
#eb20fc on black: 6.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green12.5%
Blue98.8%

CMYK percentages

Cyan6.7%
Magenta87.3%
Yellow0.0%
Key (black)1.2%

Color previews

#eb20fc text on a black background

contrast 6.14:1

Card sample

#eb20fc text on a white background

contrast 3.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb20fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb20fc in the Color Lab