Skip to content

#eb0387

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

RGB
235, 3, 135
HSL
326°, 98%, 47%
CMYK
0, 99, 43, 8
Luminance
0.1948

At a glance

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

Hex
#eb0387
Hue
326°
magenta / pink
Saturation
98%
electric
Lightness
47%
balanced
Brightness
92%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1948
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.90:1
Closest name
Deep Pink
ΔE2000 4.6
Where it sits
Hue326° of 360°
Saturation98%
Lightness47%
Temperature
Warm ← → Cool36% 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#eb0387
RGBrgb(235, 3, 135)
HSLhsl(326, 98%, 47%)
CMYKcmyk(0%, 99%, 43%, 8%)
LABlab(51.3 80.6 -5.9)
LCHlch(51.3 80.9 355.8)
OKLCHoklch(0.613 0.249 356.6)
Decimal15401863
Display P3color(display-p3 0.922 0.012 0.529)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb0387 on white: 4.29:1
AA ✗ fail · AA-large · AAA
Aa
#eb0387 on black: 4.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4F6189
deuteranopia · #898882
tritanopia · #FF004F

Color scale — 50 to 950

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

#FDF1F8
#FCE4F1
#FBC1E2
#FE90CE
#FD59B6
#FC219E
#eb0387
#C90374
#A1025C
#740645
#49042B
Base = 600Lightest = 50 · #FDF1F8Darkest = 950 · #49042B
:root {
  --brand-50: #FDF1F8;
  --brand-100: #FCE4F1;
  --brand-200: #FBC1E2;
  --brand-300: #FE90CE;
  --brand-400: #FD59B6;
  --brand-500: #FC219E;
  --brand-600: #eb0387;
  --brand-700: #C90374;
  --brand-800: #A1025C;
  --brand-900: #740645;
  --brand-950: #49042B;
  --brand: #eb0387;
  --brand-ink: #000000;
}

Colors that work with #eb0387

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#EDC0D9
Hairlines and dividers
Muted text#9B4B78
Captions on the surface
Accent#00CC25
Second voice, not a rival
Dark variant#7E0248
Hover, pressed, headers
Light variant#FFE6F4
Selected rows, tints
Dark surface#24141D
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 #eb0387

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#03EB67
Analogous left#DB03EB
Analogous right#EB0313
Split-complement 1#13EB03
Split-complement 2#03EBDB
Triadic 1#87EB03
Triadic 2#0387EB
Tetradic#EBDB03

RGB percentages

Red92.2%
Green1.2%
Blue52.9%

CMYK percentages

Cyan0.0%
Magenta98.7%
Yellow42.6%
Key (black)7.8%

Color previews

#eb0387 text on a black background

contrast 4.90:1

Card sample

#eb0387 text on a white background

contrast 4.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb0387

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.

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

#eb0387, answered

What color is #eb0387?

#eb0387 is a balanced electric magenta / pink, closest to Deep Pink (ΔE2000 4.6). It sits at 326° on the hue wheel with 98% saturation and 47% lightness, which reads as warm.

What is the RGB value of #eb0387?

rgb(235, 3, 135) — 235 red, 3 green and 135 blue out of 255, or 92.2% / 1.2% / 52.9% by channel.

Is #eb0387 a light or a dark color?

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

Should I use black or white text on #eb0387?

Black. It scores 4.90:1 against #eb0387, versus 4.29:1 for white — AA at any size.

What is the complementary color of #eb0387?

#03EB67 sits directly opposite on the wheel. Softer options are the split-complements #13EB03 and #03EBDB, which give the same contrast with far less vibration.

What colors go well with #eb0387?

For interface work: #FAF4F8 as the surface, #EDC0D9 for borders, #9B4B78 for secondary text, #00CC25 as an accent and #7E0248 for hover and pressed states. For a palette, the analogous pair #DB03EB and #EB0313 stays calm, while #03EB67 is the loudest partner.

What is #eb0387 in CMYK for printing?

cmyk(0%, 99%, 43%, 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 #eb0387 warm or cool?

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

Work with #eb0387 in the Color Lab