Skip to content

#eb4cb3

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

RGB
235, 76, 179
HSL
321°, 80%, 61%
CMYK
0, 68, 24, 8
Luminance
0.2609

At a glance

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

Hex
#eb4cb3
Hue
321°
magenta / pink
Saturation
80%
electric
Lightness
61%
balanced
Brightness
92%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2609
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.22:1
Closest name
Deep Pink
ΔE2000 7.4
Where it sits
Hue321° of 360°
Saturation80%
Lightness61%
Temperature
Warm ← → Cool38% 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#eb4cb3
RGBrgb(235, 76, 179)
HSLhsl(321, 80%, 61%)
CMYKcmyk(0%, 68%, 24%, 8%)
LABlab(58.1 70.2 -21.5)
LCHlch(58.1 73.4 343.0)
OKLCHoklch(0.668 0.219 344.9)
Decimal15420595
Display P3color(display-p3 0.922 0.298 0.702)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb4cb3 on white: 3.38:1
AA ✗ fail · AA-large · AAA
Aa
#eb4cb3 on black: 6.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5D7BB6
deuteranopia · #8D95AF
tritanopia · #FA4A79

Color scale — 50 to 950

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

#FCF3F9
#F9E6F3
#F5C7E5
#F49AD4
#EE68BF
#eb4cb3
#DC1997
#B7157E
#931065
#6A104B
#420A2F
Base = 500Lightest = 50 · #FCF3F9Darkest = 950 · #420A2F
:root {
  --brand-50: #FCF3F9;
  --brand-100: #F9E6F3;
  --brand-200: #F5C7E5;
  --brand-300: #F49AD4;
  --brand-400: #EE68BF;
  --brand-500: #eb4cb3;
  --brand-600: #DC1997;
  --brand-700: #B7157E;
  --brand-800: #931065;
  --brand-900: #6A104B;
  --brand-950: #420A2F;
  --brand: #eb4cb3;
  --brand-ink: #000000;
}

Colors that work with #eb4cb3

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#FAF4F8
Tinted page background
Border#EDC0DD
Hairlines and dividers
Muted text#9B4B7F
Captions on the surface
Accent#10BC22
Second voice, not a rival
Dark variant#730D4F
Hover, pressed, headers
Light variant#FCE8F5
Selected rows, tints
Dark surface#24141F
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 #eb4cb3

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#4CEB84
Analogous left#D34CEB
Analogous right#EB4C64
Split-complement 1#64EB4C
Split-complement 2#4CEBD3
Triadic 1#B3EB4C
Triadic 2#4CB3EB
Tetradic#EBD34C

RGB percentages

Red92.2%
Green29.8%
Blue70.2%

CMYK percentages

Cyan0.0%
Magenta67.7%
Yellow23.8%
Key (black)7.8%

Color previews

#eb4cb3 text on a black background

contrast 6.22:1

Card sample

#eb4cb3 text on a white background

contrast 3.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb4cb3

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.

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

#eb4cb3, answered

What color is #eb4cb3?

#eb4cb3 is a balanced electric magenta / pink, closest to Deep Pink (ΔE2000 7.4). It sits at 321° on the hue wheel with 80% saturation and 61% lightness, which reads as warm.

What is the RGB value of #eb4cb3?

rgb(235, 76, 179) — 235 red, 76 green and 179 blue out of 255, or 92.2% / 29.8% / 70.2% by channel.

Is #eb4cb3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2609 and perceived brightness is 60%, so black text on it reaches 6.22:1.

Should I use black or white text on #eb4cb3?

Black. It scores 6.22:1 against #eb4cb3, versus 3.38:1 for white — AA at any size.

What is the complementary color of #eb4cb3?

#4CEB84 sits directly opposite on the wheel. Softer options are the split-complements #64EB4C and #4CEBD3, which give the same contrast with far less vibration.

What colors go well with #eb4cb3?

For interface work: #FAF4F8 as the surface, #EDC0DD for borders, #9B4B7F for secondary text, #10BC22 as an accent and #730D4F for hover and pressed states. For a palette, the analogous pair #D34CEB and #EB4C64 stays calm, while #4CEB84 is the loudest partner.

What is #eb4cb3 in CMYK for printing?

cmyk(0%, 68%, 24%, 8%). 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 #eb4cb3 warm or cool?

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

Work with #eb4cb3 in the Color Lab