Skip to content

#eb2d5f

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

RGB
235, 45, 95
HSL
344°, 83%, 55%
CMYK
0, 81, 60, 8
Luminance
0.2037

Every format

HEX#eb2d5f
RGBrgb(235, 45, 95)
HSLhsl(344, 83%, 55%)
CMYKcmyk(0%, 81%, 60%, 8%)
LABlab(52.3 71.8 19.7)
LCHlch(52.3 74.4 15.4)
OKLCHoklch(0.617 0.222 12.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2d5f on white: 4.14:1
AA ✗ fail · AA-large · AAA
Aa
#eb2d5f on black: 5.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green17.6%
Blue37.3%

CMYK percentages

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

Color previews

#eb2d5f text on a black background

contrast 5.07:1

Card sample

#eb2d5f text on a white background

contrast 4.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2d5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2d5f in the Color Lab