Skip to content

#df7d97

a light, vivid magenta / pink · warm · closest name: Pale Violet Red

RGB
223, 125, 151
HSL
344°, 61%, 68%
CMYK
0, 44, 32, 13
Luminance
0.3259

At a glance

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

Hex
#df7d97
Hue
344°
magenta / pink
Saturation
61%
vivid
Lightness
68%
light
Brightness
87%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3259
WCAG relative
Temperature
Warm
25/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.52:1
Closest name
Pale Violet Red
ΔE2000 3.5
Where it sits
Hue344° of 360°
Saturation61%
Lightness68%
Temperature
Warm ← → Cool25% 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#df7d97
RGBrgb(223, 125, 151)
HSLhsl(344, 61%, 68%)
CMYKcmyk(0%, 44%, 32%, 13%)
LABlab(63.8 40.8 2.9)
LCHlch(63.8 40.9 4.1)
OKLCHoklch(0.704 0.124 3.8)
Decimal14646679
Display P3color(display-p3 0.875 0.490 0.592)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df7d97 on white: 2.79:1
AA ✗ fail · AA-large · AAA
Aa
#df7d97 on black: 7.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8D8F98
deuteranopia · #A5A295
tritanopia · #EE7586

Color scale — 50 to 950

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

#FBF4F6
#F7E8EC
#EFCCD6
#E9A5B7
#df7d97
#D34B6F
#C43058
#A42849
#83203A
#5F1B2D
#3C111C
Base = 400Lightest = 50 · #FBF4F6Darkest = 950 · #3C111C
:root {
  --brand-50: #FBF4F6;
  --brand-100: #F7E8EC;
  --brand-200: #EFCCD6;
  --brand-300: #E9A5B7;
  --brand-400: #df7d97;
  --brand-500: #D34B6F;
  --brand-600: #C43058;
  --brand-700: #A42849;
  --brand-800: #83203A;
  --brand-900: #5F1B2D;
  --brand-950: #3C111C;
  --brand: #df7d97;
  --brand-ink: #000000;
}

Colors that work with #df7d97

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#FAF4F6
Tinted page background
Border#EDC0CC
Hairlines and dividers
Muted text#9B4B60
Captions on the surface
Accent#25A763
Second voice, not a rival
Dark variant#66192E
Hover, pressed, headers
Light variant#FAEBEF
Selected rows, tints
Dark surface#241418
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 #df7d97

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#7DDFC5
Analogous left#DF7DC8
Analogous right#DF947D
Split-complement 1#7DDF94
Split-complement 2#7DC8DF
Triadic 1#97DF7D
Triadic 2#7D97DF
Tetradic#C8DF7D

RGB percentages

Red87.5%
Green49.0%
Blue59.2%

CMYK percentages

Cyan0.0%
Magenta43.9%
Yellow32.3%
Key (black)12.5%

Color previews

#df7d97 text on a black background

contrast 7.52:1

Card sample

#df7d97 text on a white background

contrast 2.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df7d97

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.

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

#df7d97, answered

What color is #df7d97?

#df7d97 is a light vivid magenta / pink, closest to Pale Violet Red (ΔE2000 3.5). It sits at 344° on the hue wheel with 61% saturation and 68% lightness, which reads as warm.

What is the RGB value of #df7d97?

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

Is #df7d97 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3259 and perceived brightness is 64%, so black text on it reaches 7.52:1.

Should I use black or white text on #df7d97?

Black. It scores 7.52:1 against #df7d97, versus 2.79:1 for white — AAA at any size.

What is the complementary color of #df7d97?

#7DDFC5 sits directly opposite on the wheel. Softer options are the split-complements #7DDF94 and #7DC8DF, which give the same contrast with far less vibration.

What colors go well with #df7d97?

For interface work: #FAF4F6 as the surface, #EDC0CC for borders, #9B4B60 for secondary text, #25A763 as an accent and #66192E for hover and pressed states. For a palette, the analogous pair #DF7DC8 and #DF947D stays calm, while #7DDFC5 is the loudest partner.

What is #df7d97 in CMYK for printing?

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

Is #df7d97 warm or cool?

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

Work with #df7d97 in the Color Lab