Skip to content

#df97d0

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

RGB
223, 151, 208
HSL
313°, 53%, 73%
CMYK
0, 32, 7, 13
Luminance
0.4238

At a glance

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

Hex
#df97d0
Hue
313°
magenta / pink
Saturation
53%
vivid
Lightness
73%
light
Brightness
87%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4238
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
9.48:1
Closest name
Plum
ΔE2000 3.2
Where it sits
Hue313° of 360°
Saturation53%
Lightness73%
Temperature
Warm ← → Cool43% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#df97d0
RGBrgb(223, 151, 208)
HSLhsl(313, 53%, 73%)
CMYKcmyk(0%, 32%, 7%, 13%)
LABlab(71.1 35.7 -18.2)
LCHlch(71.1 40.1 332.9)
OKLCHoklch(0.765 0.113 334.4)
Decimal14653392
Display P3color(display-p3 0.875 0.592 0.816)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df97d0 on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#df97d0 on black: 9.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #97A8D2
deuteranopia · #A8B2CE
tritanopia · #E69AAB

Color scale — 50 to 950

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

#FBF4F9
#F6E9F3
#EDCEE7
#df97d0
#D77EC5
#CA53B1
#BB3AA0
#9C3085
#7D266B
#5B1F4F
#391431
Base = 300Lightest = 50 · #FBF4F9Darkest = 950 · #391431
:root {
  --brand-50: #FBF4F9;
  --brand-100: #F6E9F3;
  --brand-200: #EDCEE7;
  --brand-300: #df97d0;
  --brand-400: #D77EC5;
  --brand-500: #CA53B1;
  --brand-600: #BB3AA0;
  --brand-700: #9C3085;
  --brand-800: #7D266B;
  --brand-900: #5B1F4F;
  --brand-950: #391431;
  --brand: #df97d0;
  --brand-ink: #000000;
}

Colors that work with #df97d0

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#FAF4F9
Tinted page background
Border#ECC1E3
Hairlines and dividers
Muted text#9B4B8A
Captions on the surface
Accent#30A12B
Second voice, not a rival
Dark variant#611E53
Hover, pressed, headers
Light variant#F9ECF6
Selected rows, tints
Dark surface#241421
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 #df97d0

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#97DFA6
Analogous left#CA97DF
Analogous right#DF97AC
Split-complement 1#ACDF97
Split-complement 2#97DFCA
Triadic 1#D0DF97
Triadic 2#97D0DF
Tetradic#DFCA97

RGB percentages

Red87.5%
Green59.2%
Blue81.6%

CMYK percentages

Cyan0.0%
Magenta32.3%
Yellow6.7%
Key (black)12.5%

Color previews

#df97d0 text on a black background

contrast 9.48:1

Card sample

#df97d0 text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df97d0

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.

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

#df97d0, answered

What color is #df97d0?

#df97d0 is a light vivid magenta / pink, closest to Plum (ΔE2000 3.2). It sits at 313° on the hue wheel with 53% saturation and 73% lightness, which reads as neutral.

What is the RGB value of #df97d0?

rgb(223, 151, 208) — 223 red, 151 green and 208 blue out of 255, or 87.5% / 59.2% / 81.6% by channel.

Is #df97d0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4238 and perceived brightness is 71%, so black text on it reaches 9.48:1.

Should I use black or white text on #df97d0?

Black. It scores 9.48:1 against #df97d0, versus 2.22:1 for white — AAA at any size.

What is the complementary color of #df97d0?

#97DFA6 sits directly opposite on the wheel. Softer options are the split-complements #ACDF97 and #97DFCA, which give the same contrast with far less vibration.

What colors go well with #df97d0?

For interface work: #FAF4F9 as the surface, #ECC1E3 for borders, #9B4B8A for secondary text, #30A12B as an accent and #611E53 for hover and pressed states. For a palette, the analogous pair #CA97DF and #DF97AC stays calm, while #97DFA6 is the loudest partner.

What is #df97d0 in CMYK for printing?

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

Is #df97d0 warm or cool?

Neutral — it scores 43 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF97B6; nudged cooler, #D496E0.

Work with #df97d0 in the Color Lab