Skip to content

#fb5eb2

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

RGB
251, 94, 178
HSL
328°, 95%, 68%
CMYK
0, 63, 29, 2
Luminance
0.3173

At a glance

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

Hex
#fb5eb2
Hue
328°
magenta / pink
Saturation
95%
electric
Lightness
68%
light
Brightness
98%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3173
WCAG relative
Temperature
Warm
35/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.35:1
Closest name
Hot Pink
ΔE2000 2.3
Where it sits
Hue328° of 360°
Saturation95%
Lightness68%
Temperature
Warm ← → Cool35% 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#fb5eb2
RGBrgb(251, 94, 178)
HSLhsl(328, 95%, 68%)
CMYKcmyk(0%, 63%, 29%, 2%)
LABlab(63.1 67.4 -13.1)
LCHlch(63.1 68.7 349.0)
OKLCHoklch(0.709 0.208 350.6)
Decimal16473778
Display P3color(display-p3 0.984 0.369 0.698)

Copy-ready code

/* CSS */
color: #fb5eb2;
background-color: #fb5eb2;
/* Tailwind (arbitrary) */
class="text-[#fb5eb2] bg-[#fb5eb2]"
/* SCSS */
$brand: #fb5eb2;
/* SwiftUI */
Color(red: 0.984, green: 0.369, blue: 0.698)
/* Android */
Color.parseColor("#fb5eb2")
/* Flutter */
Color(0xFFFB5EB2)
/* Python / OpenCV (BGR) */
(178, 94, 251)

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 #fb5eb2 · 7.35:1
Use #000000AAA at every size.
Aa
White text · 2.86:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.35:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #fb5eb2 as text scores 2.86:1 on white and 7.35:1 on black.

Accessibility — WCAG contrast

Aa
#fb5eb2 on white: 2.86:1
AA ✗ fail · AA-large · AAA
Aa
#fb5eb2 on black: 7.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7487B4
deuteranopia · #A0A3AE
tritanopia · #FF5780

Color scale — 50 to 950

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

#FDF1F8
#FCE4F1
#FAC2E0
#FC91CB
#fb5eb2
#FA2496
#EF0683
#C7056D
#9F0457
#730841
#480529
Base = 400Lightest = 50 · #FDF1F8Darkest = 950 · #480529
:root {
  --brand-50: #FDF1F8;
  --brand-100: #FCE4F1;
  --brand-200: #FAC2E0;
  --brand-300: #FC91CB;
  --brand-400: #fb5eb2;
  --brand-500: #FA2496;
  --brand-600: #EF0683;
  --brand-700: #C7056D;
  --brand-800: #9F0457;
  --brand-900: #730841;
  --brand-950: #480529;
  --brand: #fb5eb2;
  --brand-ink: #000000;
}

Colors that work with #fb5eb2

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#EDC0D8
Hairlines and dividers
Muted text#9B4B76
Captions on the surface
Accent#01CB2E
Second voice, not a rival
Dark variant#7C0344
Hover, pressed, headers
Light variant#FEE6F3
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 #fb5eb2

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#5EFBA7
Analogous left#F65EFB
Analogous right#FB5E63
Split-complement 1#63FB5E
Split-complement 2#5EFBF6
Triadic 1#B2FB5E
Triadic 2#5EB2FB
Tetradic#FBF65E

RGB percentages

Red98.4%
Green36.9%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta62.5%
Yellow29.1%
Key (black)1.6%

Color previews

#fb5eb2 text on a black background

contrast 7.35:1

Card sample

#fb5eb2 text on a white background

contrast 2.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fb5eb2

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.

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

#fb5eb2, answered

What color is #fb5eb2?

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

What is the RGB value of #fb5eb2?

rgb(251, 94, 178) — 251 red, 94 green and 178 blue out of 255, or 98.4% / 36.9% / 69.8% by channel.

Is #fb5eb2 a light or a dark color?

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

Should I use black or white text on #fb5eb2?

Black. It scores 7.35:1 against #fb5eb2, versus 2.86:1 for white — AAA at any size.

What is the complementary color of #fb5eb2?

#5EFBA7 sits directly opposite on the wheel. Softer options are the split-complements #63FB5E and #5EFBF6, which give the same contrast with far less vibration.

What colors go well with #fb5eb2?

For interface work: #FAF4F8 as the surface, #EDC0D8 for borders, #9B4B76 for secondary text, #01CB2E as an accent and #7C0344 for hover and pressed states. For a palette, the analogous pair #F65EFB and #FB5E63 stays calm, while #5EFBA7 is the loudest partner.

What is #fb5eb2 in CMYK for printing?

cmyk(0%, 63%, 29%, 2%). 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 #fb5eb2 warm or cool?

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

Work with #fb5eb2 in the Color Lab