Skip to content

#eb339f

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

RGB
235, 51, 159
HSL
325°, 82%, 56%
CMYK
0, 78, 32, 8
Luminance
0.2253

At a glance

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

Hex
#eb339f
Hue
325°
magenta / pink
Saturation
82%
electric
Lightness
56%
balanced
Brightness
92%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2253
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.51:1
Closest name
Deep Pink
ΔE2000 4.4
Where it sits
Hue325° of 360°
Saturation82%
Lightness56%
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#eb339f
RGBrgb(235, 51, 159)
HSLhsl(325, 82%, 56%)
CMYKcmyk(0%, 78%, 32%, 8%)
LABlab(54.6 75.7 -15.2)
LCHlch(54.6 77.2 348.6)
OKLCHoklch(0.640 0.235 350.3)
Decimal15414175
Display P3color(display-p3 0.922 0.200 0.624)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb339f on white: 3.81:1
AA ✗ fail · AA-large · AAA
Aa
#eb339f on black: 5.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #556EA2
deuteranopia · #8A8E9B
tritanopia · #FD2366

Color scale — 50 to 950

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

#FCF2F8
#FAE6F1
#F6C6E2
#F599CF
#F066B7
#eb339f
#DF168C
#BA1275
#950F5D
#6B0F45
#43092B
Base = 500Lightest = 50 · #FCF2F8Darkest = 950 · #43092B
:root {
  --brand-50: #FCF2F8;
  --brand-100: #FAE6F1;
  --brand-200: #F6C6E2;
  --brand-300: #F599CF;
  --brand-400: #F066B7;
  --brand-500: #eb339f;
  --brand-600: #DF168C;
  --brand-700: #BA1275;
  --brand-800: #950F5D;
  --brand-900: #6B0F45;
  --brand-950: #43092B;
  --brand: #eb339f;
  --brand-ink: #000000;
}

Colors that work with #eb339f

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#EDC0DA
Hairlines and dividers
Muted text#9B4B7A
Captions on the surface
Accent#0FBD2B
Second voice, not a rival
Dark variant#740B49
Hover, pressed, headers
Light variant#FDE8F4
Selected rows, tints
Dark surface#24141E
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 #eb339f

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#33EB7F
Analogous left#DB33EB
Analogous right#EB3343
Split-complement 1#43EB33
Split-complement 2#33EBDB
Triadic 1#9FEB33
Triadic 2#339FEB
Tetradic#EBDB33

RGB percentages

Red92.2%
Green20.0%
Blue62.4%

CMYK percentages

Cyan0.0%
Magenta78.3%
Yellow32.3%
Key (black)7.8%

Color previews

#eb339f text on a black background

contrast 5.51:1

Card sample

#eb339f text on a white background

contrast 3.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb339f

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.

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

#eb339f, answered

What color is #eb339f?

#eb339f is a balanced electric magenta / pink, closest to Deep Pink (ΔE2000 4.4). It sits at 325° on the hue wheel with 82% saturation and 56% lightness, which reads as warm.

What is the RGB value of #eb339f?

rgb(235, 51, 159) — 235 red, 51 green and 159 blue out of 255, or 92.2% / 20% / 62.4% by channel.

Is #eb339f a light or a dark color?

It is a mid-tone. Relative luminance is 0.2253 and perceived brightness is 57%, so black text on it reaches 5.51:1.

Should I use black or white text on #eb339f?

Black. It scores 5.51:1 against #eb339f, versus 3.81:1 for white — AA at any size.

What is the complementary color of #eb339f?

#33EB7F sits directly opposite on the wheel. Softer options are the split-complements #43EB33 and #33EBDB, which give the same contrast with far less vibration.

What colors go well with #eb339f?

For interface work: #FAF4F8 as the surface, #EDC0DA for borders, #9B4B7A for secondary text, #0FBD2B as an accent and #740B49 for hover and pressed states. For a palette, the analogous pair #DB33EB and #EB3343 stays calm, while #33EB7F is the loudest partner.

What is #eb339f in CMYK for printing?

cmyk(0%, 78%, 32%, 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 #eb339f 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 #EB335C; nudged cooler, #ED31E4.

Work with #eb339f in the Color Lab