Skip to content

#ef5dfd

a light, electric magenta / pink · neutral · closest name: Magenta

RGB
239, 93, 253
HSL
295°, 98%, 68%
CMYK
6, 63, 0, 1
Luminance
0.3327

At a glance

Every number on this page in one read: what #ef5dfd is made of, how bright it looks, and which way it leans.

Hex
#ef5dfd
Hue
295°
magenta / pink
Saturation
98%
electric
Lightness
68%
light
Brightness
99%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3327
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.65:1
Closest name
Magenta
ΔE2000 5.7
Where it sits
Hue295° of 360°
Saturation98%
Lightness68%
Temperature
Warm ← → Cool53% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ef5dfd
RGBrgb(239, 93, 253)
HSLhsl(295, 98%, 68%)
CMYKcmyk(6%, 63%, 0%, 1%)
LABlab(64.4 75.8 -53.4)
LCHlch(64.4 92.7 324.8)
OKLCHoklch(0.726 0.253 324.1)
Decimal15687165
Display P3color(display-p3 0.937 0.365 0.992)

Copy-ready code

/* CSS */
color: #ef5dfd;
background-color: #ef5dfd;
/* Tailwind (arbitrary) */
class="text-[#ef5dfd] bg-[#ef5dfd]"
/* SCSS */
$brand: #ef5dfd;
/* SwiftUI */
Color(red: 0.937, green: 0.365, blue: 0.992)
/* Android */
Color.parseColor("#ef5dfd")
/* Flutter */
Color(0xFFEF5DFD)
/* Python / OpenCV (BGR) */
(253, 93, 239)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ef5dfd · 7.65:1
Use #000000AAA at every size.
Aa
White text · 2.74:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.65:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ef5dfd as text scores 2.74:1 on white and 7.65:1 on black.

Accessibility — WCAG contrast

Aa
#ef5dfd on white: 2.74:1
AA ✗ fail · AA-large · AAA
Aa
#ef5dfd on black: 7.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3C91FF
deuteranopia · #78A2F9
tritanopia · #F375A5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ef5dfd is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF1FD
#FAE4FC
#F6C1FB
#F490FE
#ef5dfd
#E921FC
#DD03F2
#B802CA
#9302A1
#6B0674
#430449
Base = 400Lightest = 50 · #FCF1FDDarkest = 950 · #430449
:root {
  --brand-50: #FCF1FD;
  --brand-100: #FAE4FC;
  --brand-200: #F6C1FB;
  --brand-300: #F490FE;
  --brand-400: #ef5dfd;
  --brand-500: #E921FC;
  --brand-600: #DD03F2;
  --brand-700: #B802CA;
  --brand-800: #9302A1;
  --brand-900: #6B0674;
  --brand-950: #430449;
  --brand: #ef5dfd;
  --brand-ink: #000000;
}

Colors that work with #ef5dfd

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4FA
Tinted page background
Border#E9C0ED
Hairlines and dividers
Muted text#944B9B
Captions on the surface
Accent#44CC00
Second voice, not a rival
Dark variant#73027E
Hover, pressed, headers
Light variant#FDE6FF
Selected rows, tints
Dark surface#231424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ef5dfd

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#6BFD5D
Analogous left#9F5DFD
Analogous right#FD5DBB
Split-complement 1#BBFD5D
Split-complement 2#5DFD9F
Triadic 1#FDEF5D
Triadic 2#5DFDEF
Tetradic#FD9F5D

RGB percentages

Red93.7%
Green36.5%
Blue99.2%

CMYK percentages

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

Color previews

#ef5dfd text on a black background

contrast 7.65:1

Card sample

#ef5dfd text on a white background

contrast 2.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ef5dfd

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#ef5dfd in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ef5dfd, answered

What color is #ef5dfd?

#ef5dfd is a light electric magenta / pink, closest to Magenta (ΔE2000 5.7). It sits at 295° on the hue wheel with 98% saturation and 68% lightness, which reads as neutral.

What is the RGB value of #ef5dfd?

rgb(239, 93, 253) — 239 red, 93 green and 253 blue out of 255, or 93.7% / 36.5% / 99.2% by channel.

Is #ef5dfd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3327 and perceived brightness is 67%, so black text on it reaches 7.65:1.

Should I use black or white text on #ef5dfd?

Black. It scores 7.65:1 against #ef5dfd, versus 2.74:1 for white — AAA at any size.

What is the complementary color of #ef5dfd?

#6BFD5D sits directly opposite on the wheel. Softer options are the split-complements #BBFD5D and #5DFD9F, which give the same contrast with far less vibration.

What colors go well with #ef5dfd?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #944B9B for secondary text, #44CC00 as an accent and #73027E for hover and pressed states. For a palette, the analogous pair #9F5DFD and #FD5DBB stays calm, while #6BFD5D is the loudest partner.

What is #ef5dfd in CMYK for printing?

cmyk(6%, 63%, 0%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #ef5dfd warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FD5DD0; nudged cooler, #B55BFF.

Work with #ef5dfd in the Color Lab