Skip to content

#e52182

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

RGB
229, 33, 130
HSL
330°, 79%, 51%
CMYK
0, 86, 43, 10
Luminance
0.1936

At a glance

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

Hex
#e52182
Hue
330°
magenta / pink
Saturation
79%
electric
Lightness
51%
balanced
Brightness
90%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1936
WCAG relative
Temperature
Warm
33/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.87:1
Closest name
Deep Pink
ΔE2000 5.2
Where it sits
Hue330° of 360°
Saturation79%
Lightness51%
Temperature
Warm ← → Cool33% cool

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

Every format

HEX#e52182
RGBrgb(229, 33, 130)
HSLhsl(330, 79%, 51%)
CMYKcmyk(0%, 86%, 43%, 10%)
LABlab(51.1 75.5 -3.3)
LCHlch(51.1 75.5 357.5)
OKLCHoklch(0.609 0.233 358.1)
Decimal15016322
Display P3color(display-p3 0.898 0.129 0.510)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e52182 on white: 4.31:1
AA ✗ fail · AA-large · AAA
Aa
#e52182 on black: 4.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #546384
deuteranopia · #89867E
tritanopia · #F80051

Color scale — 50 to 950

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

#FCF3F7
#F9E6F0
#F5C7DE
#F39BC6
#ED68AA
#E7368E
#e52182
#B71565
#921151
#6A113D
#420A26
Base = 600Lightest = 50 · #FCF3F7Darkest = 950 · #420A26
:root {
  --brand-50: #FCF3F7;
  --brand-100: #F9E6F0;
  --brand-200: #F5C7DE;
  --brand-300: #F39BC6;
  --brand-400: #ED68AA;
  --brand-500: #E7368E;
  --brand-600: #e52182;
  --brand-700: #B71565;
  --brand-800: #921151;
  --brand-900: #6A113D;
  --brand-950: #420A26;
  --brand: #e52182;
  --brand-ink: #000000;
}

Colors that work with #e52182

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#FAF4F7
Tinted page background
Border#EDC0D6
Hairlines and dividers
Muted text#9B4B72
Captions on the surface
Accent#11BB3D
Second voice, not a rival
Dark variant#720D3F
Hover, pressed, headers
Light variant#FCE8F2
Selected rows, tints
Dark surface#24141C
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 #e52182

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#21E584
Analogous left#E521E4
Analogous right#E52221
Split-complement 1#21E522
Split-complement 2#21E4E5
Triadic 1#82E521
Triadic 2#2182E5
Tetradic#E4E521

RGB percentages

Red89.8%
Green12.9%
Blue51.0%

CMYK percentages

Cyan0.0%
Magenta85.6%
Yellow43.2%
Key (black)10.2%

Color previews

#e52182 text on a black background

contrast 4.87:1

Card sample

#e52182 text on a white background

contrast 4.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e52182

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.

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

#e52182, answered

What color is #e52182?

#e52182 is a balanced electric magenta / pink, closest to Deep Pink (ΔE2000 5.2). It sits at 330° on the hue wheel with 79% saturation and 51% lightness, which reads as warm.

What is the RGB value of #e52182?

rgb(229, 33, 130) — 229 red, 33 green and 130 blue out of 255, or 89.8% / 12.9% / 51% by channel.

Is #e52182 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1936 and perceived brightness is 53%, so black text on it reaches 4.87:1.

Should I use black or white text on #e52182?

Black. It scores 4.87:1 against #e52182, versus 4.31:1 for white — AA at any size.

What is the complementary color of #e52182?

#21E584 sits directly opposite on the wheel. Softer options are the split-complements #21E522 and #21E4E5, which give the same contrast with far less vibration.

What colors go well with #e52182?

For interface work: #FAF4F7 as the surface, #EDC0D6 for borders, #9B4B72 for secondary text, #11BB3D as an accent and #720D3F for hover and pressed states. For a palette, the analogous pair #E521E4 and #E52221 stays calm, while #21E584 is the loudest partner.

What is #e52182 in CMYK for printing?

cmyk(0%, 86%, 43%, 10%). 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 #e52182 warm or cool?

Warm — it scores 33 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E5213A; nudged cooler, #E71FCC.

Work with #e52182 in the Color Lab