Skip to content

#ef2dfd

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

RGB
239, 45, 253
HSL
296°, 98%, 58%
CMYK
6, 82, 0, 1
Luminance
0.2732

Every format

HEX#ef2dfd
RGBrgb(239, 45, 253)
HSLhsl(296, 98%, 58%)
CMYKcmyk(6%, 82%, 0%, 1%)
LABlab(59.3 90.3 -61.5)
LCHlch(59.3 109.3 325.7)
OKLCHoklch(0.689 0.299 325.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ef2dfd on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#ef2dfd on black: 6.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green17.6%
Blue99.2%

CMYK percentages

Cyan5.5%
Magenta82.2%
Yellow0.0%
Key (black)0.8%

Color previews

#ef2dfd text on a black background

contrast 6.46:1

Card sample

#ef2dfd text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ef2dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ef2dfd in the Color Lab