Skip to content

#df98b7

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

RGB
223, 152, 183
HSL
334°, 53%, 74%
CMYK
0, 32, 18, 13
Luminance
0.4156

At a glance

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

Hex
#df98b7
Hue
334°
magenta / pink
Saturation
53%
vivid
Lightness
74%
light
Brightness
87%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4156
WCAG relative
Temperature
Warm
31/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
9.31:1
Closest name
Plum
ΔE2000 9.3
Where it sits
Hue334° of 360°
Saturation53%
Lightness74%
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#df98b7
RGBrgb(223, 152, 183)
HSLhsl(334, 53%, 74%)
CMYKcmyk(0%, 32%, 18%, 13%)
LABlab(70.6 31.0 -5.2)
LCHlch(70.6 31.5 350.5)
OKLCHoklch(0.758 0.093 351.7)
Decimal14653623
Display P3color(display-p3 0.875 0.596 0.718)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df98b7 on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#df98b7 on black: 9.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9FA5B8
deuteranopia · #B0B1B5
tritanopia · #E996A3

Color scale — 50 to 950

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

#FAF4F7
#F6E9EF
#EDCFDC
#df98b7
#D77FA5
#CA5487
#BB3A72
#9C305F
#7D274C
#5B2039
#391424
Base = 300Lightest = 50 · #FAF4F7Darkest = 950 · #391424
:root {
  --brand-50: #FAF4F7;
  --brand-100: #F6E9EF;
  --brand-200: #EDCFDC;
  --brand-300: #df98b7;
  --brand-400: #D77FA5;
  --brand-500: #CA5487;
  --brand-600: #BB3A72;
  --brand-700: #9C305F;
  --brand-800: #7D274C;
  --brand-900: #5B2039;
  --brand-950: #391424;
  --brand: #df98b7;
  --brand-ink: #000000;
}

Colors that work with #df98b7

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#ECC1D3
Hairlines and dividers
Muted text#9B4B6E
Captions on the surface
Accent#2CA050
Second voice, not a rival
Dark variant#611E3C
Hover, pressed, headers
Light variant#F9ECF1
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 #df98b7

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#98DFC0
Analogous left#DF98DA
Analogous right#DF9C98
Split-complement 1#98DF9C
Split-complement 2#98DADF
Triadic 1#B7DF98
Triadic 2#98B7DF
Tetradic#DADF98

RGB percentages

Red87.5%
Green59.6%
Blue71.8%

CMYK percentages

Cyan0.0%
Magenta31.8%
Yellow17.9%
Key (black)12.5%

Color previews

#df98b7 text on a black background

contrast 9.31:1

Card sample

#df98b7 text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df98b7

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.

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

#df98b7, answered

What color is #df98b7?

#df98b7 is a light vivid magenta / pink, closest to Plum (ΔE2000 9.3). It sits at 334° on the hue wheel with 53% saturation and 74% lightness, which reads as warm.

What is the RGB value of #df98b7?

rgb(223, 152, 183) — 223 red, 152 green and 183 blue out of 255, or 87.5% / 59.6% / 71.8% by channel.

Is #df98b7 a light or a dark color?

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

Should I use black or white text on #df98b7?

Black. It scores 9.31:1 against #df98b7, versus 2.25:1 for white — AAA at any size.

What is the complementary color of #df98b7?

#98DFC0 sits directly opposite on the wheel. Softer options are the split-complements #98DF9C and #98DADF, which give the same contrast with far less vibration.

What colors go well with #df98b7?

For interface work: #FAF4F7 as the surface, #ECC1D3 for borders, #9B4B6E for secondary text, #2CA050 as an accent and #611E3C for hover and pressed states. For a palette, the analogous pair #DF98DA and #DF9C98 stays calm, while #98DFC0 is the loudest partner.

What is #df98b7 in CMYK for printing?

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

Is #df98b7 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 #DF989D; nudged cooler, #E097D2.

Work with #df98b7 in the Color Lab