Skip to content

#eb1bab

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

RGB
235, 27, 171
HSL
319°, 84%, 51%
CMYK
0, 89, 27, 8
Luminance
0.2139

Every format

HEX#eb1bab
RGBrgb(235, 27, 171)
HSLhsl(319, 84%, 51%)
CMYKcmyk(0%, 89%, 27%, 8%)
LABlab(53.4 81.8 -24.1)
LCHlch(53.4 85.3 343.6)
OKLCHoklch(0.632 0.258 345.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb1bab on white: 3.98:1
AA ✗ fail · AA-large · AAA
Aa
#eb1bab on black: 5.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green10.6%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta88.5%
Yellow27.2%
Key (black)7.8%

Color previews

#eb1bab text on a black background

contrast 5.28:1

Card sample

#eb1bab text on a white background

contrast 3.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb1bab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb1bab in the Color Lab