Skip to content

#df7eb8

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

RGB
223, 126, 184
HSL
324°, 60%, 68%
CMYK
0, 44, 18, 13
Luminance
0.3407

At a glance

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

Hex
#df7eb8
Hue
324°
magenta / pink
Saturation
60%
vivid
Lightness
68%
light
Brightness
87%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3407
WCAG relative
Temperature
Warm
37/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.81:1
Closest name
Hot Pink
ΔE2000 6.2
Where it sits
Hue324° of 360°
Saturation60%
Lightness68%
Temperature
Warm ← → Cool37% 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#df7eb8
RGBrgb(223, 126, 184)
HSLhsl(324, 60%, 68%)
CMYKcmyk(0%, 44%, 18%, 13%)
LABlab(65.0 44.9 -14.1)
LCHlch(65.0 47.0 342.6)
OKLCHoklch(0.716 0.138 344.4)
Decimal14646968
Display P3color(display-p3 0.875 0.494 0.722)

Copy-ready code

/* CSS */
color: #df7eb8;
background-color: #df7eb8;
/* Tailwind (arbitrary) */
class="text-[#df7eb8] bg-[#df7eb8]"
/* SCSS */
$brand: #df7eb8;
/* SwiftUI */
Color(red: 0.875, green: 0.494, blue: 0.722)
/* Android */
Color.parseColor("#df7eb8")
/* Flutter */
Color(0xFFDF7EB8)
/* Python / OpenCV (BGR) */
(184, 126, 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 #df7eb8 · 7.81:1
Use #000000AAA at every size.
Aa
White text · 2.69:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.81:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #df7eb8 as text scores 2.69:1 on white and 7.81:1 on black.

Accessibility — WCAG contrast

Aa
#df7eb8 on white: 2.69:1
AA ✗ fail · AA-large · AAA
Aa
#df7eb8 on black: 7.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8594BA
deuteranopia · #9EA4B5
tritanopia · #EA7E93

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df7eb8 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
#F7E9F1
#EFCCE1
#E9A5CE
#df7eb8
#D24B9C
#C43189
#A32972
#83205B
#5F1B44
#3B112A
Base = 400Lightest = 50 · #FBF4F8Darkest = 950 · #3B112A
:root {
  --brand-50: #FBF4F8;
  --brand-100: #F7E9F1;
  --brand-200: #EFCCE1;
  --brand-300: #E9A5CE;
  --brand-400: #df7eb8;
  --brand-500: #D24B9C;
  --brand-600: #C43189;
  --brand-700: #A32972;
  --brand-800: #83205B;
  --brand-900: #5F1B44;
  --brand-950: #3B112A;
  --brand: #df7eb8;
  --brand-ink: #000000;
}

Colors that work with #df7eb8

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#EDC0DB
Hairlines and dividers
Muted text#9B4B7B
Captions on the surface
Accent#25A738
Second voice, not a rival
Dark variant#661947
Hover, pressed, headers
Light variant#FAEBF4
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 #df7eb8

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#7EDFA5
Analogous left#D57EDF
Analogous right#DF7E87
Split-complement 1#87DF7E
Split-complement 2#7EDFD5
Triadic 1#B8DF7E
Triadic 2#7EB8DF
Tetradic#DFD57E

RGB percentages

Red87.5%
Green49.4%
Blue72.2%

CMYK percentages

Cyan0.0%
Magenta43.5%
Yellow17.5%
Key (black)12.5%

Color previews

#df7eb8 text on a black background

contrast 7.81:1

Card sample

#df7eb8 text on a white background

contrast 2.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df7eb8

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.

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

#df7eb8, answered

What color is #df7eb8?

#df7eb8 is a light vivid magenta / pink, closest to Hot Pink (ΔE2000 6.2). It sits at 324° on the hue wheel with 60% saturation and 68% lightness, which reads as warm.

What is the RGB value of #df7eb8?

rgb(223, 126, 184) — 223 red, 126 green and 184 blue out of 255, or 87.5% / 49.4% / 72.2% by channel.

Is #df7eb8 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3407 and perceived brightness is 66%, so black text on it reaches 7.81:1.

Should I use black or white text on #df7eb8?

Black. It scores 7.81:1 against #df7eb8, versus 2.69:1 for white — AAA at any size.

What is the complementary color of #df7eb8?

#7EDFA5 sits directly opposite on the wheel. Softer options are the split-complements #87DF7E and #7EDFD5, which give the same contrast with far less vibration.

What colors go well with #df7eb8?

For interface work: #FAF4F8 as the surface, #EDC0DB for borders, #9B4B7B for secondary text, #25A738 as an accent and #661947 for hover and pressed states. For a palette, the analogous pair #D57EDF and #DF7E87 stays calm, while #7EDFA5 is the loudest partner.

What is #df7eb8 in CMYK for printing?

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

Is #df7eb8 warm or cool?

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

Work with #df7eb8 in the Color Lab