Skip to content

#ef2fdf

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

RGB
239, 47, 223
HSL
305°, 86%, 56%
CMYK
0, 80, 7, 6
Luminance
0.2571

Every format

HEX#ef2fdf
RGBrgb(239, 47, 223)
HSLhsl(305, 86%, 56%)
CMYKcmyk(0%, 80%, 7%, 6%)
LABlab(57.8 85.5 -47.2)
LCHlch(57.8 97.6 331.1)
OKLCHoklch(0.673 0.278 332.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ef2fdf on white: 3.42:1
AA ✗ fail · AA-large · AAA
Aa
#ef2fdf on black: 6.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green18.4%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta80.3%
Yellow6.7%
Key (black)6.3%

Color previews

#ef2fdf text on a black background

contrast 6.14:1

Card sample

#ef2fdf text on a white background

contrast 3.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ef2fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ef2fdf in the Color Lab