Skip to content

#eb2a5f

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

RGB
235, 42, 95
HSL
344°, 83%, 54%
CMYK
0, 82, 60, 8
Luminance
0.2014

Every format

HEX#eb2a5f
RGBrgb(235, 42, 95)
HSLhsl(344, 83%, 54%)
CMYKcmyk(0%, 82%, 60%, 8%)
LABlab(52.0 72.5 19.4)
LCHlch(52.0 75.0 15.0)
OKLCHoklch(0.615 0.224 12.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2a5f on white: 4.18:1
AA ✗ fail · AA-large · AAA
Aa
#eb2a5f on black: 5.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green16.5%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta82.1%
Yellow59.6%
Key (black)7.8%

Color previews

#eb2a5f text on a black background

contrast 5.03:1

Card sample

#eb2a5f text on a white background

contrast 4.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2a5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2a5f in the Color Lab