Skip to content

#eb6ba2

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

RGB
235, 107, 162
HSL
334°, 76%, 67%
CMYK
0, 55, 31, 8
Luminance
0.3079

At a glance

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

Hex
#eb6ba2
Hue
334°
magenta / pink
Saturation
76%
electric
Lightness
67%
light
Brightness
92%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3079
WCAG relative
Temperature
Warm
31/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.16:1
Closest name
Hot Pink
ΔE2000 4.1
Where it sits
Hue334° of 360°
Saturation76%
Lightness67%
Temperature
Warm ← → Cool31% 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#eb6ba2
RGBrgb(235, 107, 162)
HSLhsl(334, 76%, 67%)
CMYKcmyk(0%, 55%, 31%, 8%)
LABlab(62.3 55.0 -5.4)
LCHlch(62.3 55.3 354.4)
OKLCHoklch(0.697 0.168 355.4)
Decimal15428514
Display P3color(display-p3 0.922 0.420 0.635)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb6ba2 on white: 2.93:1
AA ✗ fail · AA-large · AAA
Aa
#eb6ba2 on black: 7.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7E88A4
deuteranopia · #A09F9F
tritanopia · #FB6380

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #eb6ba2 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
#F9E7EE
#F4C8DB
#F29CC1
#eb6ba2
#E43983
#D81D6D
#B4185B
#901349
#681237
#410B22
Base = 400Lightest = 50 · #FCF3F7Darkest = 950 · #410B22
:root {
  --brand-50: #FCF3F7;
  --brand-100: #F9E7EE;
  --brand-200: #F4C8DB;
  --brand-300: #F29CC1;
  --brand-400: #eb6ba2;
  --brand-500: #E43983;
  --brand-600: #D81D6D;
  --brand-700: #B4185B;
  --brand-800: #901349;
  --brand-900: #681237;
  --brand-950: #410B22;
  --brand: #eb6ba2;
  --brand-ink: #000000;
}

Colors that work with #eb6ba2

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#EDC0D3
Hairlines and dividers
Muted text#9B4B6D
Captions on the surface
Accent#15B749
Second voice, not a rival
Dark variant#700F39
Hover, pressed, headers
Light variant#FCE9F1
Selected rows, tints
Dark surface#24141B
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 #eb6ba2

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#6BEBB4
Analogous left#EB6BE2
Analogous right#EB746B
Split-complement 1#6BEB74
Split-complement 2#6BE2EB
Triadic 1#A2EB6B
Triadic 2#6BA2EB
Tetradic#E2EB6B

RGB percentages

Red92.2%
Green42.0%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta54.5%
Yellow31.1%
Key (black)7.8%

Color previews

#eb6ba2 text on a black background

contrast 7.16:1

Card sample

#eb6ba2 text on a white background

contrast 2.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb6ba2

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.

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

#eb6ba2, answered

What color is #eb6ba2?

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

What is the RGB value of #eb6ba2?

rgb(235, 107, 162) — 235 red, 107 green and 162 blue out of 255, or 92.2% / 42% / 63.5% by channel.

Is #eb6ba2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3079 and perceived brightness is 64%, so black text on it reaches 7.16:1.

Should I use black or white text on #eb6ba2?

Black. It scores 7.16:1 against #eb6ba2, versus 2.93:1 for white — AAA at any size.

What is the complementary color of #eb6ba2?

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

What colors go well with #eb6ba2?

For interface work: #FAF4F7 as the surface, #EDC0D3 for borders, #9B4B6D for secondary text, #15B749 as an accent and #700F39 for hover and pressed states. For a palette, the analogous pair #EB6BE2 and #EB746B stays calm, while #6BEBB4 is the loudest partner.

What is #eb6ba2 in CMYK for printing?

cmyk(0%, 55%, 31%, 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 #eb6ba2 warm or cool?

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

Work with #eb6ba2 in the Color Lab