Skip to content

#eb4dfc

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

RGB
235, 77, 252
HSL
294°, 97%, 65%
CMYK
7, 69, 0, 1
Luminance
0.3000

At a glance

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

Hex
#eb4dfc
Hue
294°
magenta / pink
Saturation
97%
electric
Lightness
65%
balanced
Brightness
99%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3000
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.00:1
Closest name
Magenta
ΔE2000 3.8
Where it sits
Hue294° of 360°
Saturation97%
Lightness65%
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#eb4dfc
RGBrgb(235, 77, 252)
HSLhsl(294, 97%, 65%)
CMYKcmyk(7%, 69%, 0%, 1%)
LABlab(61.7 80.6 -57.2)
LCHlch(61.7 98.9 324.6)
OKLCHoklch(0.705 0.269 323.7)
Decimal15420924
Display P3color(display-p3 0.922 0.302 0.988)

Copy-ready code

/* CSS */
color: #eb4dfc;
background-color: #eb4dfc;
/* Tailwind (arbitrary) */
class="text-[#eb4dfc] bg-[#eb4dfc]"
/* SCSS */
$brand: #eb4dfc;
/* SwiftUI */
Color(red: 0.922, green: 0.302, blue: 0.988)
/* Android */
Color.parseColor("#eb4dfc")
/* Flutter */
Color(0xFFEB4DFC)
/* Python / OpenCV (BGR) */
(252, 77, 235)

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 #eb4dfc · 7.00:1
Use #000000AAA at every size.
Aa
White text · 3.00:1
AA fail · AA large pass · AAA fail
Aa
Black text · 7.00:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #eb4dfc as text scores 3.00:1 on white and 7.00:1 on black.

Accessibility — WCAG contrast

Aa
#eb4dfc on white: 3.00:1
AA ✗ fail · AA-large · AAA
Aa
#eb4dfc on black: 7.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #1089FF
deuteranopia · #6B9BF8
tritanopia · #EF6BA0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #eb4dfc 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
#F9E4FC
#F5C1FB
#F391FD
#eb4dfc
#E622FB
#DA04F1
#B603C9
#9103A1
#690774
#420448
Base = 400Lightest = 50 · #FCF1FDDarkest = 950 · #420448
:root {
  --brand-50: #FCF1FD;
  --brand-100: #F9E4FC;
  --brand-200: #F5C1FB;
  --brand-300: #F391FD;
  --brand-400: #eb4dfc;
  --brand-500: #E622FB;
  --brand-600: #DA04F1;
  --brand-700: #B603C9;
  --brand-800: #9103A1;
  --brand-900: #690774;
  --brand-950: #420448;
  --brand: #eb4dfc;
  --brand-ink: #000000;
}

Colors that work with #eb4dfc

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#E8C0ED
Hairlines and dividers
Muted text#934B9B
Captions on the surface
Accent#47CC00
Second voice, not a rival
Dark variant#71027D
Hover, pressed, headers
Light variant#FCE6FF
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 #eb4dfc

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#5EFC4D
Analogous left#944DFC
Analogous right#FC4DB5
Split-complement 1#B5FC4D
Split-complement 2#4DFC94
Triadic 1#FCEB4D
Triadic 2#4DFCEB
Tetradic#FC944D

RGB percentages

Red92.2%
Green30.2%
Blue98.8%

CMYK percentages

Cyan6.7%
Magenta69.4%
Yellow0.0%
Key (black)1.2%

Color previews

#eb4dfc text on a black background

contrast 7.00:1

Card sample

#eb4dfc text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 77, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 77, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eb4dfc;
background: linear-gradient(135deg, #eb4dfc, #FC4D98);

Monochromatic scale

Palettes built from #eb4dfc

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.

#eb4dfc 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.

#eb4dfc, answered

What color is #eb4dfc?

#eb4dfc is a balanced electric magenta / pink, closest to Magenta (ΔE2000 3.8). It sits at 294° on the hue wheel with 97% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #eb4dfc?

rgb(235, 77, 252) — 235 red, 77 green and 252 blue out of 255, or 92.2% / 30.2% / 98.8% by channel.

Is #eb4dfc a light or a dark color?

It is a mid-tone. Relative luminance is 0.3000 and perceived brightness is 65%, so black text on it reaches 7.00:1.

Should I use black or white text on #eb4dfc?

Black. It scores 7.00:1 against #eb4dfc, versus 3.00:1 for white — AAA at any size.

What is the complementary color of #eb4dfc?

#5EFC4D sits directly opposite on the wheel. Softer options are the split-complements #B5FC4D and #4DFC94, which give the same contrast with far less vibration.

What colors go well with #eb4dfc?

For interface work: #FAF4FA as the surface, #E8C0ED for borders, #934B9B for secondary text, #47CC00 as an accent and #71027D for hover and pressed states. For a palette, the analogous pair #944DFC and #FC4DB5 stays calm, while #5EFC4D is the loudest partner.

What is #eb4dfc in CMYK for printing?

cmyk(7%, 69%, 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 #eb4dfc 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 #FC4DCD; nudged cooler, #AB4BFE.

Work with #eb4dfc in the Color Lab