Skip to content

#eb5baf

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

RGB
235, 91, 175
HSL
325°, 78%, 64%
CMYK
0, 61, 26, 8
Luminance
0.2824

At a glance

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

Hex
#eb5baf
Hue
325°
magenta / pink
Saturation
78%
electric
Lightness
64%
balanced
Brightness
92%
HSV value
Perceived
62%
weighted brightness
Luminance
0.2824
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.65:1
Closest name
Hot Pink
ΔE2000 5.1
Where it sits
Hue325° of 360°
Saturation78%
Lightness64%
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#eb5baf
RGBrgb(235, 91, 175)
HSLhsl(325, 78%, 64%)
CMYKcmyk(0%, 61%, 26%, 8%)
LABlab(60.1 63.8 -16.2)
LCHlch(60.1 65.8 345.8)
OKLCHoklch(0.682 0.197 347.5)
Decimal15424431
Display P3color(display-p3 0.922 0.357 0.686)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb5baf on white: 3.16:1
AA ✗ fail · AA-large · AAA
Aa
#eb5baf on black: 6.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6C81B2
deuteranopia · #949AAC
tritanopia · #FA577D

Color scale — 50 to 950

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

#FCF3F8
#F9E6F1
#F5C7E2
#F39BCE
#eb5baf
#E7379D
#DA1B8A
#B61673
#91125C
#691145
#420B2B
Base = 400Lightest = 50 · #FCF3F8Darkest = 950 · #420B2B
:root {
  --brand-50: #FCF3F8;
  --brand-100: #F9E6F1;
  --brand-200: #F5C7E2;
  --brand-300: #F39BCE;
  --brand-400: #eb5baf;
  --brand-500: #E7379D;
  --brand-600: #DA1B8A;
  --brand-700: #B61673;
  --brand-800: #91125C;
  --brand-900: #691145;
  --brand-950: #420B2B;
  --brand: #eb5baf;
  --brand-ink: #000000;
}

Colors that work with #eb5baf

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#9B4B79
Captions on the surface
Accent#12BA2E
Second voice, not a rival
Dark variant#720E48
Hover, pressed, headers
Light variant#FCE8F4
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 #eb5baf

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#5BEB97
Analogous left#DF5BEB
Analogous right#EB5B67
Split-complement 1#67EB5B
Split-complement 2#5BEBDF
Triadic 1#AFEB5B
Triadic 2#5BAFEB
Tetradic#EBDF5B

RGB percentages

Red92.2%
Green35.7%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta61.3%
Yellow25.5%
Key (black)7.8%

Color previews

#eb5baf text on a black background

contrast 6.65:1

Card sample

#eb5baf text on a white background

contrast 3.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb5baf

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.

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

#eb5baf, answered

What color is #eb5baf?

#eb5baf is a balanced electric magenta / pink, closest to Hot Pink (ΔE2000 5.1). It sits at 325° on the hue wheel with 78% saturation and 64% lightness, which reads as warm.

What is the RGB value of #eb5baf?

rgb(235, 91, 175) — 235 red, 91 green and 175 blue out of 255, or 92.2% / 35.7% / 68.6% by channel.

Is #eb5baf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2824 and perceived brightness is 62%, so black text on it reaches 6.65:1.

Should I use black or white text on #eb5baf?

Black. It scores 6.65:1 against #eb5baf, versus 3.16:1 for white — AA at any size.

What is the complementary color of #eb5baf?

#5BEB97 sits directly opposite on the wheel. Softer options are the split-complements #67EB5B and #5BEBDF, which give the same contrast with far less vibration.

What colors go well with #eb5baf?

For interface work: #FAF4F8 as the surface, #EDC0DA for borders, #9B4B79 for secondary text, #12BA2E as an accent and #720E48 for hover and pressed states. For a palette, the analogous pair #DF5BEB and #EB5B67 stays calm, while #5BEB97 is the loudest partner.

What is #eb5baf in CMYK for printing?

cmyk(0%, 61%, 26%, 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 #eb5baf 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 #EB5B7A; nudged cooler, #ED59E5.

Work with #eb5baf in the Color Lab