Skip to content

#eb2fab

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

RGB
235, 47, 171
HSL
320°, 83%, 55%
CMYK
0, 80, 27, 8
Luminance
0.2264

Every format

HEX#eb2fab
RGBrgb(235, 47, 171)
HSLhsl(320, 83%, 55%)
CMYKcmyk(0%, 80%, 27%, 8%)
LABlab(54.7 78.0 -22.1)
LCHlch(54.7 81.1 344.2)
OKLCHoklch(0.642 0.245 346.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2fab on white: 3.80:1
AA ✗ fail · AA-large · AAA
Aa
#eb2fab on black: 5.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green18.4%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta80.0%
Yellow27.2%
Key (black)7.8%

Color previews

#eb2fab text on a black background

contrast 5.53:1

Card sample

#eb2fab text on a white background

contrast 3.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2fab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2fab in the Color Lab