Skip to content

#df87b5

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

RGB
223, 135, 181
HSL
329°, 58%, 70%
CMYK
0, 40, 19, 13
Luminance
0.3635

At a glance

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

Hex
#df87b5
Hue
329°
magenta / pink
Saturation
58%
vivid
Lightness
70%
light
Brightness
87%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3635
WCAG relative
Temperature
Warm
34/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
8.27:1
Closest name
Hot Pink
ΔE2000 7.5
Where it sits
Hue329° of 360°
Saturation58%
Lightness70%
Temperature
Warm ← → Cool34% 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#df87b5
RGBrgb(223, 135, 181)
HSLhsl(329, 58%, 70%)
CMYKcmyk(0%, 40%, 19%, 13%)
LABlab(66.8 39.8 -9.7)
LCHlch(66.8 40.9 346.3)
OKLCHoklch(0.729 0.121 347.9)
Decimal14649269
Display P3color(display-p3 0.875 0.529 0.710)

Copy-ready code

/* CSS */
color: #df87b5;
background-color: #df87b5;
/* Tailwind (arbitrary) */
class="text-[#df87b5] bg-[#df87b5]"
/* SCSS */
$brand: #df87b5;
/* SwiftUI */
Color(red: 0.875, green: 0.529, blue: 0.710)
/* Android */
Color.parseColor("#df87b5")
/* Flutter */
Color(0xFFDF87B5)
/* Python / OpenCV (BGR) */
(181, 135, 223)

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

Accessibility — WCAG contrast

Aa
#df87b5 on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#df87b5 on black: 8.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8F99B7
deuteranopia · #A5A8B3
tritanopia · #EA8597

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df87b5 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
#F7E9F0
#EFCDDF
#E7A6C8
#df87b5
#D04E92
#C1347E
#A12B69
#812254
#5E1D3F
#3B1227
Base = 400Lightest = 50 · #FBF4F8Darkest = 950 · #3B1227
:root {
  --brand-50: #FBF4F8;
  --brand-100: #F7E9F0;
  --brand-200: #EFCDDF;
  --brand-300: #E7A6C8;
  --brand-400: #df87b5;
  --brand-500: #D04E92;
  --brand-600: #C1347E;
  --brand-700: #A12B69;
  --brand-800: #812254;
  --brand-900: #5E1D3F;
  --brand-950: #3B1227;
  --brand: #df87b5;
  --brand-ink: #000000;
}

Colors that work with #df87b5

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#EDC0D7
Hairlines and dividers
Muted text#9B4B75
Captions on the surface
Accent#27A543
Second voice, not a rival
Dark variant#651B41
Hover, pressed, headers
Light variant#FAEBF3
Selected rows, tints
Dark surface#24141C
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 #df87b5

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#87DFB1
Analogous left#DD87DF
Analogous right#DF8789
Split-complement 1#89DF87
Split-complement 2#87DFDD
Triadic 1#B5DF87
Triadic 2#87B5DF
Tetradic#DFDD87

RGB percentages

Red87.5%
Green52.9%
Blue71.0%

CMYK percentages

Cyan0.0%
Magenta39.5%
Yellow18.8%
Key (black)12.5%

Color previews

#df87b5 text on a black background

contrast 8.27:1

Card sample

#df87b5 text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df87b5

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.

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

#df87b5, answered

What color is #df87b5?

#df87b5 is a light vivid magenta / pink, closest to Hot Pink (ΔE2000 7.5). It sits at 329° on the hue wheel with 58% saturation and 70% lightness, which reads as warm.

What is the RGB value of #df87b5?

rgb(223, 135, 181) — 223 red, 135 green and 181 blue out of 255, or 87.5% / 52.9% / 71% by channel.

Is #df87b5 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3635 and perceived brightness is 67%, so black text on it reaches 8.27:1.

Should I use black or white text on #df87b5?

Black. It scores 8.27:1 against #df87b5, versus 2.54:1 for white — AAA at any size.

What is the complementary color of #df87b5?

#87DFB1 sits directly opposite on the wheel. Softer options are the split-complements #89DF87 and #87DFDD, which give the same contrast with far less vibration.

What colors go well with #df87b5?

For interface work: #FAF4F7 as the surface, #EDC0D7 for borders, #9B4B75 for secondary text, #27A543 as an accent and #651B41 for hover and pressed states. For a palette, the analogous pair #DD87DF and #DF8789 stays calm, while #87DFB1 is the loudest partner.

What is #df87b5 in CMYK for printing?

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

Is #df87b5 warm or cool?

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

Work with #df87b5 in the Color Lab