Skip to content

#d87eb7

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

RGB
216, 126, 183
HSL
322°, 54%, 67%
CMYK
0, 42, 15, 15
Luminance
0.3294

At a glance

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

Hex
#d87eb7
Hue
322°
magenta / pink
Saturation
54%
vivid
Lightness
67%
light
Brightness
85%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3294
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.59:1
Closest name
Hot Pink
ΔE2000 7.3
Where it sits
Hue322° of 360°
Saturation54%
Lightness67%
Temperature
Warm ← → Cool38% 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#d87eb7
RGBrgb(216, 126, 183)
HSLhsl(322, 54%, 67%)
CMYKcmyk(0%, 42%, 15%, 15%)
LABlab(64.1 42.4 -14.9)
LCHlch(64.1 45.0 340.6)
OKLCHoklch(0.708 0.131 342.4)
Decimal14188215
Display P3color(display-p3 0.847 0.494 0.718)

Copy-ready code

/* CSS */
color: #d87eb7;
background-color: #d87eb7;
/* Tailwind (arbitrary) */
class="text-[#d87eb7] bg-[#d87eb7]"
/* SCSS */
$brand: #d87eb7;
/* SwiftUI */
Color(red: 0.847, green: 0.494, blue: 0.718)
/* Android */
Color.parseColor("#d87eb7")
/* Flutter */
Color(0xFFD87EB7)
/* Python / OpenCV (BGR) */
(183, 126, 216)

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

Accessibility — WCAG contrast

Aa
#d87eb7 on white: 2.77:1
AA ✗ fail · AA-large · AAA
Aa
#d87eb7 on black: 7.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8393B9
deuteranopia · #9AA1B5
tritanopia · #E27E93

Color scale — 50 to 950

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

#FBF4F8
#F6E9F1
#EDCEE2
#E5A9CF
#d87eb7
#CB539F
#BC398C
#9D2F75
#7D265D
#5B1F45
#39132B
Base = 400Lightest = 50 · #FBF4F8Darkest = 950 · #39132B
:root {
  --brand-50: #FBF4F8;
  --brand-100: #F6E9F1;
  --brand-200: #EDCEE2;
  --brand-300: #E5A9CF;
  --brand-400: #d87eb7;
  --brand-500: #CB539F;
  --brand-600: #BC398C;
  --brand-700: #9D2F75;
  --brand-800: #7D265D;
  --brand-900: #5B1F45;
  --brand-950: #39132B;
  --brand: #d87eb7;
  --brand-ink: #000000;
}

Colors that work with #d87eb7

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#ECC0DC
Hairlines and dividers
Muted text#9B4B7D
Captions on the surface
Accent#2CA039
Second voice, not a rival
Dark variant#621E49
Hover, pressed, headers
Light variant#F9EBF4
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 #d87eb7

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#7ED89F
Analogous left#CC7ED8
Analogous right#D87E8A
Split-complement 1#8AD87E
Split-complement 2#7ED8CC
Triadic 1#B7D87E
Triadic 2#7EB7D8
Tetradic#D8CC7E

RGB percentages

Red84.7%
Green49.4%
Blue71.8%

CMYK percentages

Cyan0.0%
Magenta41.7%
Yellow15.3%
Key (black)15.3%

Color previews

#d87eb7 text on a black background

contrast 7.59:1

Card sample

#d87eb7 text on a white background

contrast 2.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d87eb7

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.

#d87eb7 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

Converts to four-color process without much drama. Proof it anyway.

#d87eb7, answered

What color is #d87eb7?

#d87eb7 is a light vivid magenta / pink, closest to Hot Pink (ΔE2000 7.3). It sits at 322° on the hue wheel with 54% saturation and 67% lightness, which reads as warm.

What is the RGB value of #d87eb7?

rgb(216, 126, 183) — 216 red, 126 green and 183 blue out of 255, or 84.7% / 49.4% / 71.8% by channel.

Is #d87eb7 a light or a dark color?

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

Should I use black or white text on #d87eb7?

Black. It scores 7.59:1 against #d87eb7, versus 2.77:1 for white — AAA at any size.

What is the complementary color of #d87eb7?

#7ED89F sits directly opposite on the wheel. Softer options are the split-complements #8AD87E and #7ED8CC, which give the same contrast with far less vibration.

What colors go well with #d87eb7?

For interface work: #FAF4F8 as the surface, #ECC0DC for borders, #9B4B7D for secondary text, #2CA039 as an accent and #621E49 for hover and pressed states. For a palette, the analogous pair #CC7ED8 and #D87E8A stays calm, while #7ED89F is the loudest partner.

What is #d87eb7 in CMYK for printing?

cmyk(0%, 42%, 15%, 15%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #d87eb7 warm or cool?

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

Work with #d87eb7 in the Color Lab