Skip to content

#fe7eb4

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

RGB
254, 126, 180
HSL
335°, 99%, 75%
CMYK
0, 50, 29, 0
Luminance
0.3929

At a glance

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

Hex
#fe7eb4
Hue
335°
magenta / pink
Saturation
99%
electric
Lightness
75%
light
Brightness
100%
HSV value
Perceived
70%
weighted brightness
Luminance
0.3929
WCAG relative
Temperature
Warm
31/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
8.86:1
Closest name
Hot Pink
ΔE2000 4.3
Where it sits
Hue335° of 360°
Saturation99%
Lightness75%
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#fe7eb4
RGBrgb(254, 126, 180)
HSLhsl(335, 99%, 75%)
CMYKcmyk(0%, 50%, 29%, 0%)
LABlab(69.0 54.4 -5.5)
LCHlch(69.0 54.7 354.2)
OKLCHoklch(0.754 0.165 355.2)
Decimal16678580
Display P3color(display-p3 0.996 0.494 0.706)

Copy-ready code

/* CSS */
color: #fe7eb4;
background-color: #fe7eb4;
/* Tailwind (arbitrary) */
class="text-[#fe7eb4] bg-[#fe7eb4]"
/* SCSS */
$brand: #fe7eb4;
/* SwiftUI */
Color(red: 0.996, green: 0.494, blue: 0.706)
/* Android */
Color.parseColor("#fe7eb4")
/* Flutter */
Color(0xFFFE7EB4)
/* Python / OpenCV (BGR) */
(180, 126, 254)

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

Accessibility — WCAG contrast

Aa
#fe7eb4 on white: 2.37:1
AA ✗ fail · AA-large · AAA
Aa
#fe7eb4 on black: 8.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #909AB6
deuteranopia · #B1B1B1
tritanopia · #FF7792

Color scale — 50 to 950

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

#FEF1F6
#FCE3EE
#FBC1D9
#fe7eb4
#FE589E
#FD207D
#F30268
#CA0256
#A20145
#750635
#490421
Base = 300Lightest = 50 · #FEF1F6Darkest = 950 · #490421
:root {
  --brand-50: #FEF1F6;
  --brand-100: #FCE3EE;
  --brand-200: #FBC1D9;
  --brand-300: #fe7eb4;
  --brand-400: #FE589E;
  --brand-500: #FD207D;
  --brand-600: #F30268;
  --brand-700: #CA0256;
  --brand-800: #A20145;
  --brand-900: #750635;
  --brand-950: #490421;
  --brand: #fe7eb4;
  --brand-ink: #000000;
}

Colors that work with #fe7eb4

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#9B4B6C
Captions on the surface
Accent#00CC43
Second voice, not a rival
Dark variant#7F0136
Hover, pressed, headers
Light variant#FFE6F0
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 #fe7eb4

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#7EFEC8
Analogous left#FE7EF4
Analogous right#FE887E
Split-complement 1#7EFE88
Split-complement 2#7EF4FE
Triadic 1#B4FE7E
Triadic 2#7EB4FE
Tetradic#F4FE7E

RGB percentages

Red99.6%
Green49.4%
Blue70.6%

CMYK percentages

Cyan0.0%
Magenta50.4%
Yellow29.1%
Key (black)0.4%

Color previews

#fe7eb4 text on a black background

contrast 8.86:1

Card sample

#fe7eb4 text on a white background

contrast 2.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(254, 126, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 126, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fe7eb4;
background: linear-gradient(135deg, #fe7eb4, #FE9D7E);

Monochromatic scale

Palettes built from #fe7eb4

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.

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

#fe7eb4, answered

What color is #fe7eb4?

#fe7eb4 is a light electric magenta / pink, closest to Hot Pink (ΔE2000 4.3). It sits at 335° on the hue wheel with 99% saturation and 75% lightness, which reads as warm.

What is the RGB value of #fe7eb4?

rgb(254, 126, 180) — 254 red, 126 green and 180 blue out of 255, or 99.6% / 49.4% / 70.6% by channel.

Is #fe7eb4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3929 and perceived brightness is 70%, so black text on it reaches 8.86:1.

Should I use black or white text on #fe7eb4?

Black. It scores 8.86:1 against #fe7eb4, versus 2.37:1 for white — AAA at any size.

What is the complementary color of #fe7eb4?

#7EFEC8 sits directly opposite on the wheel. Softer options are the split-complements #7EFE88 and #7EF4FE, which give the same contrast with far less vibration.

What colors go well with #fe7eb4?

For interface work: #FAF4F7 as the surface, #EDC0D3 for borders, #9B4B6C for secondary text, #00CC43 as an accent and #7F0136 for hover and pressed states. For a palette, the analogous pair #FE7EF4 and #FE887E stays calm, while #7EFEC8 is the loudest partner.

What is #fe7eb4 in CMYK for printing?

cmyk(0%, 50%, 29%, 0%). 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 #fe7eb4 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 #FE7E85; nudged cooler, #FF7DE3.

Work with #fe7eb4 in the Color Lab