Skip to content

#e52dfd

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

RGB
229, 45, 253
HSL
293°, 98%, 58%
CMYK
10, 82, 0, 1
Luminance
0.2563

At a glance

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

Hex
#e52dfd
Hue
293°
magenta / pink
Saturation
98%
electric
Lightness
58%
balanced
Brightness
99%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2563
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.13:1
Closest name
Magenta
ΔE2000 3.7
Where it sits
Hue293° of 360°
Saturation98%
Lightness58%
Temperature
Warm ← → Cool54% 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#e52dfd
RGBrgb(229, 45, 253)
HSLhsl(293, 98%, 58%)
CMYKcmyk(10%, 82%, 0%, 1%)
LABlab(57.7 88.6 -64.2)
LCHlch(57.7 109.4 324.1)
OKLCHoklch(0.675 0.296 322.6)
Decimal15019517
Display P3color(display-p3 0.898 0.176 0.992)

Copy-ready code

/* CSS */
color: #e52dfd;
background-color: #e52dfd;
/* Tailwind (arbitrary) */
class="text-[#e52dfd] bg-[#e52dfd]"
/* SCSS */
$brand: #e52dfd;
/* SwiftUI */
Color(red: 0.898, green: 0.176, blue: 0.992)
/* Android */
Color.parseColor("#e52dfd")
/* Flutter */
Color(0xFFE52DFD)
/* Python / OpenCV (BGR) */
(253, 45, 229)

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

Accessibility — WCAG contrast

Aa
#e52dfd on white: 3.43:1
AA ✗ fail · AA-large · AAA
Aa
#e52dfd on black: 6.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #007EFF
deuteranopia · #5391F9
tritanopia · #E85C99

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #e52dfd 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.

#FCF1FD
#F9E3FC
#F4C1FB
#F190FE
#EA58FD
#e52dfd
#D702F2
#B302CA
#8F02A2
#680674
#410449
Base = 500Lightest = 50 · #FCF1FDDarkest = 950 · #410449
:root {
  --brand-50: #FCF1FD;
  --brand-100: #F9E3FC;
  --brand-200: #F4C1FB;
  --brand-300: #F190FE;
  --brand-400: #EA58FD;
  --brand-500: #e52dfd;
  --brand-600: #D702F2;
  --brand-700: #B302CA;
  --brand-800: #8F02A2;
  --brand-900: #680674;
  --brand-950: #410449;
  --brand: #e52dfd;
  --brand-ink: #000000;
}

Colors that work with #e52dfd

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#E7C0ED
Hairlines and dividers
Muted text#924B9B
Captions on the surface
Accent#4ACC00
Second voice, not a rival
Dark variant#70017E
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 #e52dfd

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#45FD2D
Analogous left#7D2DFD
Analogous right#FD2DAD
Split-complement 1#ADFD2D
Split-complement 2#2DFD7D
Triadic 1#FDE52D
Triadic 2#2DFDE5
Tetradic#FD7D2D

RGB percentages

Red89.8%
Green17.6%
Blue99.2%

CMYK percentages

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

Color previews

#e52dfd text on a black background

contrast 6.13:1

Card sample

#e52dfd text on a white background

contrast 3.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e52dfd

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.

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

#e52dfd, answered

What color is #e52dfd?

#e52dfd is a balanced electric magenta / pink, closest to Magenta (ΔE2000 3.7). It sits at 293° on the hue wheel with 98% saturation and 58% lightness, which reads as neutral.

What is the RGB value of #e52dfd?

rgb(229, 45, 253) — 229 red, 45 green and 253 blue out of 255, or 89.8% / 17.6% / 99.2% by channel.

Is #e52dfd a light or a dark color?

It is a mid-tone. Relative luminance is 0.2563 and perceived brightness is 61%, so black text on it reaches 6.13:1.

Should I use black or white text on #e52dfd?

Black. It scores 6.13:1 against #e52dfd, versus 3.43:1 for white — AA at any size.

What is the complementary color of #e52dfd?

#45FD2D sits directly opposite on the wheel. Softer options are the split-complements #ADFD2D and #2DFD7D, which give the same contrast with far less vibration.

What colors go well with #e52dfd?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #924B9B for secondary text, #4ACC00 as an accent and #70017E for hover and pressed states. For a palette, the analogous pair #7D2DFD and #FD2DAD stays calm, while #45FD2D is the loudest partner.

What is #e52dfd in CMYK for printing?

cmyk(10%, 82%, 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 #e52dfd warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FD2DC9; nudged cooler, #992BFF.

Work with #e52dfd in the Color Lab