Skip to content

#eb6fab

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

RGB
235, 111, 171
HSL
331°, 76%, 68%
CMYK
0, 53, 27, 8
Luminance
0.3197

At a glance

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

Hex
#eb6fab
Hue
331°
magenta / pink
Saturation
76%
electric
Lightness
68%
light
Brightness
92%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3197
WCAG relative
Temperature
Warm
33/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.39:1
Closest name
Hot Pink
ΔE2000 3.3
Where it sits
Hue331° of 360°
Saturation76%
Lightness68%
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#eb6fab
RGBrgb(235, 111, 171)
HSLhsl(331, 76%, 68%)
CMYKcmyk(0%, 53%, 27%, 8%)
LABlab(63.3 54.3 -9.1)
LCHlch(63.3 55.1 350.5)
OKLCHoklch(0.706 0.166 351.9)
Decimal15429547
Display P3color(display-p3 0.922 0.435 0.671)

Copy-ready code

/* CSS */
color: #eb6fab;
background-color: #eb6fab;
/* Tailwind (arbitrary) */
class="text-[#eb6fab] bg-[#eb6fab]"
/* SCSS */
$brand: #eb6fab;
/* SwiftUI */
Color(red: 0.922, green: 0.435, blue: 0.671)
/* Android */
Color.parseColor("#eb6fab")
/* Flutter */
Color(0xFFEB6FAB)
/* Python / OpenCV (BGR) */
(171, 111, 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 #eb6fab · 7.39:1
Use #000000AAA at every size.
Aa
White text · 2.84:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.39:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #eb6fab as text scores 2.84:1 on white and 7.39:1 on black.

Accessibility — WCAG contrast

Aa
#eb6fab on white: 2.84:1
AA ✗ fail · AA-large · AAA
Aa
#eb6fab on black: 7.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7E8CAD
deuteranopia · #A0A2A8
tritanopia · #FA6A86

Color scale — 50 to 950

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

#FCF3F7
#F9E7EF
#F4C8DD
#F19CC5
#eb6fab
#E43A8C
#D71E77
#B31963
#8F1450
#68133C
#410C25
Base = 400Lightest = 50 · #FCF3F7Darkest = 950 · #410C25
:root {
  --brand-50: #FCF3F7;
  --brand-100: #F9E7EF;
  --brand-200: #F4C8DD;
  --brand-300: #F19CC5;
  --brand-400: #eb6fab;
  --brand-500: #E43A8C;
  --brand-600: #D71E77;
  --brand-700: #B31963;
  --brand-800: #8F1450;
  --brand-900: #68133C;
  --brand-950: #410C25;
  --brand: #eb6fab;
  --brand-ink: #000000;
}

Colors that work with #eb6fab

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#EDC0D5
Hairlines and dividers
Muted text#9B4B71
Captions on the surface
Accent#15B73F
Second voice, not a rival
Dark variant#70103E
Hover, pressed, headers
Light variant#FCE9F2
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 #eb6fab

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#6FEBAF
Analogous left#EB6FE9
Analogous right#EB716F
Split-complement 1#6FEB71
Split-complement 2#6FE9EB
Triadic 1#ABEB6F
Triadic 2#6FABEB
Tetradic#E9EB6F

RGB percentages

Red92.2%
Green43.5%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta52.8%
Yellow27.2%
Key (black)7.8%

Color previews

#eb6fab text on a black background

contrast 7.39:1

Card sample

#eb6fab text on a white background

contrast 2.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb6fab

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.

#eb6fab 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#eb6fab, answered

What color is #eb6fab?

#eb6fab is a light electric magenta / pink, closest to Hot Pink (ΔE2000 3.3). It sits at 331° on the hue wheel with 76% saturation and 68% lightness, which reads as warm.

What is the RGB value of #eb6fab?

rgb(235, 111, 171) — 235 red, 111 green and 171 blue out of 255, or 92.2% / 43.5% / 67.1% by channel.

Is #eb6fab a light or a dark color?

It is a mid-tone. Relative luminance is 0.3197 and perceived brightness is 65%, so black text on it reaches 7.39:1.

Should I use black or white text on #eb6fab?

Black. It scores 7.39:1 against #eb6fab, versus 2.84:1 for white — AAA at any size.

What is the complementary color of #eb6fab?

#6FEBAF sits directly opposite on the wheel. Softer options are the split-complements #6FEB71 and #6FE9EB, which give the same contrast with far less vibration.

What colors go well with #eb6fab?

For interface work: #FAF4F7 as the surface, #EDC0D5 for borders, #9B4B71 for secondary text, #15B73F as an accent and #70103E for hover and pressed states. For a palette, the analogous pair #EB6FE9 and #EB716F stays calm, while #6FEBAF is the loudest partner.

What is #eb6fab in CMYK for printing?

cmyk(0%, 53%, 27%, 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 #eb6fab 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 #EB6F7D; nudged cooler, #ED6DD9.

Work with #eb6fab in the Color Lab