Skip to content

#eb2f6f

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

RGB
235, 47, 111
HSL
340°, 83%, 55%
CMYK
0, 80, 53, 8
Luminance
0.2084

Every format

HEX#eb2f6f
RGBrgb(235, 47, 111)
HSLhsl(340, 83%, 55%)
CMYKcmyk(0%, 80%, 53%, 8%)
LABlab(52.8 72.3 10.8)
LCHlch(52.8 73.2 8.5)
OKLCHoklch(0.622 0.222 7.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb2f6f on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#eb2f6f on black: 5.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green18.4%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta80.0%
Yellow52.8%
Key (black)7.8%

Color previews

#eb2f6f text on a black background

contrast 5.17:1

Card sample

#eb2f6f text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2f6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2f6f in the Color Lab