Skip to content

#fe87cd

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

RGB
254, 135, 205
HSL
325°, 98%, 76%
CMYK
0, 47, 19, 0
Luminance
0.4281

At a glance

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

Hex
#fe87cd
Hue
325°
magenta / pink
Saturation
98%
electric
Lightness
76%
light
Brightness
100%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4281
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
9.56:1
Closest name
Hot Pink
ΔE2000 6.2
Where it sits
Hue325° of 360°
Saturation98%
Lightness76%
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#fe87cd
RGBrgb(254, 135, 205)
HSLhsl(325, 98%, 76%)
CMYKcmyk(0%, 47%, 19%, 0%)
LABlab(71.4 53.4 -15.8)
LCHlch(71.4 55.7 343.6)
OKLCHoklch(0.775 0.164 345.3)
Decimal16680909
Display P3color(display-p3 0.996 0.529 0.804)

Copy-ready code

/* CSS */
color: #fe87cd;
background-color: #fe87cd;
/* Tailwind (arbitrary) */
class="text-[#fe87cd] bg-[#fe87cd]"
/* SCSS */
$brand: #fe87cd;
/* SwiftUI */
Color(red: 0.996, green: 0.529, blue: 0.804)
/* Android */
Color.parseColor("#fe87cd")
/* Flutter */
Color(0xFFFE87CD)
/* Python / OpenCV (BGR) */
(205, 135, 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 #fe87cd · 9.56:1
Use #000000AAA at every size.
Aa
White text · 2.20:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.56:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #fe87cd as text scores 2.20:1 on white and 9.56:1 on black.

Accessibility — WCAG contrast

Aa
#fe87cd on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#fe87cd on black: 9.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #90A3CF
deuteranopia · #B0B6CA
tritanopia · #FF86A1

Color scale — 50 to 950

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

#FDF1F8
#FCE3F2
#FBC1E3
#fe87cd
#FE58B9
#FD21A2
#F30290
#CA0278
#A20160
#750647
#49042C
Base = 300Lightest = 50 · #FDF1F8Darkest = 950 · #49042C
:root {
  --brand-50: #FDF1F8;
  --brand-100: #FCE3F2;
  --brand-200: #FBC1E3;
  --brand-300: #fe87cd;
  --brand-400: #FE58B9;
  --brand-500: #FD21A2;
  --brand-600: #F30290;
  --brand-700: #CA0278;
  --brand-800: #A20160;
  --brand-900: #750647;
  --brand-950: #49042C;
  --brand: #fe87cd;
  --brand-ink: #000000;
}

Colors that work with #fe87cd

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#9B4B7A
Captions on the surface
Accent#00CC22
Second voice, not a rival
Dark variant#7E014B
Hover, pressed, headers
Light variant#FFE6F4
Selected rows, tints
Dark surface#24141E
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 #fe87cd

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#87FEB8
Analogous left#F387FE
Analogous right#FE8792
Split-complement 1#92FE87
Split-complement 2#87FEF3
Triadic 1#CDFE87
Triadic 2#87CDFE
Tetradic#FEF387

RGB percentages

Red99.6%
Green52.9%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta46.9%
Yellow19.3%
Key (black)0.4%

Color previews

#fe87cd text on a black background

contrast 9.56:1

Card sample

#fe87cd text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fe87cd

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.

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

#fe87cd, answered

What color is #fe87cd?

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

What is the RGB value of #fe87cd?

rgb(254, 135, 205) — 254 red, 135 green and 205 blue out of 255, or 99.6% / 52.9% / 80.4% by channel.

Is #fe87cd a light or a dark color?

It is a mid-tone. Relative luminance is 0.4281 and perceived brightness is 73%, so black text on it reaches 9.56:1.

Should I use black or white text on #fe87cd?

Black. It scores 9.56:1 against #fe87cd, versus 2.20:1 for white — AAA at any size.

What is the complementary color of #fe87cd?

#87FEB8 sits directly opposite on the wheel. Softer options are the split-complements #92FE87 and #87FEF3, which give the same contrast with far less vibration.

What colors go well with #fe87cd?

For interface work: #FAF4F8 as the surface, #EDC0DA for borders, #9B4B7A for secondary text, #00CC22 as an accent and #7E014B for hover and pressed states. For a palette, the analogous pair #F387FE and #FE8792 stays calm, while #87FEB8 is the loudest partner.

What is #fe87cd in CMYK for printing?

cmyk(0%, 47%, 19%, 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 #fe87cd 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 #FE87A1; nudged cooler, #FF86FA.

Work with #fe87cd in the Color Lab