Skip to content

#eb2187

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

RGB
235, 33, 135
HSL
330°, 84%, 53%
CMYK
0, 86, 43, 8
Luminance
0.2050

Every format

HEX#eb2187
RGBrgb(235, 33, 135)
HSLhsl(330, 84%, 53%)
CMYKcmyk(0%, 86%, 43%, 8%)
LABlab(52.4 77.3 -4.2)
LCHlch(52.4 77.4 356.9)
OKLCHoklch(0.621 0.238 357.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2187 on white: 4.12:1
AA ✗ fail · AA-large · AAA
Aa
#eb2187 on black: 5.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green12.9%
Blue52.9%

CMYK percentages

Cyan0.0%
Magenta86.0%
Yellow42.6%
Key (black)7.8%

Color previews

#eb2187 text on a black background

contrast 5.10:1

Card sample

#eb2187 text on a white background

contrast 4.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2187

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2187 in the Color Lab