Skip to content

#ef2df5

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

RGB
239, 45, 245
HSL
298°, 91%, 57%
CMYK
2, 82, 0, 4
Luminance
0.2682

Every format

HEX#ef2df5
RGBrgb(239, 45, 245)
HSLhsl(298, 91%, 57%)
CMYKcmyk(2%, 82%, 0%, 4%)
LABlab(58.8 89.1 -57.8)
LCHlch(58.8 106.2 327.0)
OKLCHoklch(0.684 0.294 326.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ef2df5 on white: 3.30:1
AA ✗ fail · AA-large · AAA
Aa
#ef2df5 on black: 6.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green17.6%
Blue96.1%

CMYK percentages

Cyan2.4%
Magenta81.6%
Yellow0.0%
Key (black)3.9%

Color previews

#ef2df5 text on a black background

contrast 6.36:1

Card sample

#ef2df5 text on a white background

contrast 3.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ef2df5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ef2df5 in the Color Lab