Skip to content

#ef1ed4

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

RGB
239, 30, 212
HSL
308°, 87%, 53%
CMYK
0, 87, 11, 6
Luminance
0.2403

At a glance

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

Hex
#ef1ed4
Hue
308°
magenta / pink
Saturation
87%
electric
Lightness
53%
balanced
Brightness
94%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2403
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.81:1
Closest name
Magenta
ΔE2000 5.9
Where it sits
Hue308° of 360°
Saturation87%
Lightness53%
Temperature
Warm ← → Cool46% 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#ef1ed4
RGBrgb(239, 30, 212)
HSLhsl(308, 87%, 53%)
CMYKcmyk(0%, 87%, 11%, 6%)
LABlab(56.1 87.1 -43.5)
LCHlch(56.1 97.4 333.5)
OKLCHoklch(0.659 0.281 334.9)
Decimal15670996
Display P3color(display-p3 0.937 0.118 0.831)

Copy-ready code

/* CSS */
color: #ef1ed4;
background-color: #ef1ed4;
/* Tailwind (arbitrary) */
class="text-[#ef1ed4] bg-[#ef1ed4]"
/* SCSS */
$brand: #ef1ed4;
/* SwiftUI */
Color(red: 0.937, green: 0.118, blue: 0.831)
/* Android */
Color.parseColor("#ef1ed4")
/* Flutter */
Color(0xFFEF1ED4)
/* Python / OpenCV (BGR) */
(212, 30, 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 #ef1ed4 · 5.81:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.62:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.81:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ef1ed4 as text scores 3.62:1 on white and 5.81:1 on black.

Accessibility — WCAG contrast

Aa
#ef1ed4 on white: 3.62:1
AA ✗ fail · AA-large · AAA
Aa
#ef1ed4 on black: 5.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #1A74D8
deuteranopia · #7591D0
tritanopia · #FB397F

Color scale — 50 to 950

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

#FDF2FB
#FAE5F7
#F7C4F1
#F896EB
#F462E1
#ef1ed4
#E510C9
#BE0EA7
#980B86
#6E0C61
#45083D
Base = 500Lightest = 50 · #FDF2FBDarkest = 950 · #45083D
:root {
  --brand-50: #FDF2FB;
  --brand-100: #FAE5F7;
  --brand-200: #F7C4F1;
  --brand-300: #F896EB;
  --brand-400: #F462E1;
  --brand-500: #ef1ed4;
  --brand-600: #E510C9;
  --brand-700: #BE0EA7;
  --brand-800: #980B86;
  --brand-900: #6E0C61;
  --brand-950: #45083D;
  --brand: #ef1ed4;
  --brand-ink: #000000;
}

Colors that work with #ef1ed4

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#EDC0E7
Hairlines and dividers
Muted text#9B4B90
Captions on the surface
Accent#1FC309
Second voice, not a rival
Dark variant#770869
Hover, pressed, headers
Light variant#FDE7FA
Selected rows, tints
Dark surface#241422
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 #ef1ed4

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#1EEF39
Analogous left#A21EEF
Analogous right#EF1E6B
Split-complement 1#6BEF1E
Split-complement 2#1EEFA2
Triadic 1#D4EF1E
Triadic 2#1ED4EF
Tetradic#EFA21E

RGB percentages

Red93.7%
Green11.8%
Blue83.1%

CMYK percentages

Cyan0.0%
Magenta87.4%
Yellow11.3%
Key (black)6.3%

Color previews

#ef1ed4 text on a black background

contrast 5.81:1

Card sample

#ef1ed4 text on a white background

contrast 3.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ef1ed4

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.

#ef1ed4 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
ButtonsLinksFocus statesCharts
Print note

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

#ef1ed4, answered

What color is #ef1ed4?

#ef1ed4 is a balanced electric magenta / pink, closest to Magenta (ΔE2000 5.9). It sits at 308° on the hue wheel with 87% saturation and 53% lightness, which reads as neutral.

What is the RGB value of #ef1ed4?

rgb(239, 30, 212) — 239 red, 30 green and 212 blue out of 255, or 93.7% / 11.8% / 83.1% by channel.

Is #ef1ed4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2403 and perceived brightness is 59%, so black text on it reaches 5.81:1.

Should I use black or white text on #ef1ed4?

Black. It scores 5.81:1 against #ef1ed4, versus 3.62:1 for white — AA at any size.

What is the complementary color of #ef1ed4?

#1EEF39 sits directly opposite on the wheel. Softer options are the split-complements #6BEF1E and #1EEFA2, which give the same contrast with far less vibration.

What colors go well with #ef1ed4?

For interface work: #FAF4FA as the surface, #EDC0E7 for borders, #9B4B90 for secondary text, #1FC309 as an accent and #770869 for hover and pressed states. For a palette, the analogous pair #A21EEF and #EF1E6B stays calm, while #1EEF39 is the loudest partner.

What is #ef1ed4 in CMYK for printing?

cmyk(0%, 87%, 11%, 6%). 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 #ef1ed4 warm or cool?

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

Work with #ef1ed4 in the Color Lab