Skip to content

#eb2e5f

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

RGB
235, 46, 95
HSL
344°, 83%, 55%
CMYK
0, 80, 60, 8
Luminance
0.2044

Every format

HEX#eb2e5f
RGBrgb(235, 46, 95)
HSLhsl(344, 83%, 55%)
CMYKcmyk(0%, 80%, 60%, 8%)
LABlab(52.3 71.5 19.8)
LCHlch(52.3 74.2 15.5)
OKLCHoklch(0.617 0.221 12.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2e5f on white: 4.13:1
AA ✗ fail · AA-large · AAA
Aa
#eb2e5f on black: 5.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green18.0%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta80.4%
Yellow59.6%
Key (black)7.8%

Color previews

#eb2e5f text on a black background

contrast 5.09:1

Card sample

#eb2e5f text on a white background

contrast 4.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2e5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2e5f in the Color Lab