Skip to content

#eb1997

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

RGB
235, 25, 151
HSL
324°, 84%, 51%
CMYK
0, 89, 36, 8
Luminance
0.2059

Every format

HEX#eb1997
RGBrgb(235, 25, 151)
HSLhsl(324, 84%, 51%)
CMYKcmyk(0%, 89%, 36%, 8%)
LABlab(52.5 80.0 -13.6)
LCHlch(52.5 81.2 350.3)
OKLCHoklch(0.624 0.249 351.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb1997 on white: 4.10:1
AA ✗ fail · AA-large · AAA
Aa
#eb1997 on black: 5.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green9.8%
Blue59.2%

CMYK percentages

Cyan0.0%
Magenta89.4%
Yellow35.7%
Key (black)7.8%

Color previews

#eb1997 text on a black background

contrast 5.12:1

Card sample

#eb1997 text on a white background

contrast 4.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb1997

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb1997 in the Color Lab