Skip to content

#df4b7d

a balanced, vivid magenta / pink · warm · closest name: Deep Pink

RGB
223, 75, 125
HSL
340°, 70%, 58%
CMYK
0, 66, 44, 13
Luminance
0.2220

At a glance

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

Hex
#df4b7d
Hue
340°
magenta / pink
Saturation
70%
vivid
Lightness
58%
balanced
Brightness
87%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2220
WCAG relative
Temperature
Warm
28/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.44:1
Closest name
Deep Pink
ΔE2000 7
Where it sits
Hue340° of 360°
Saturation70%
Lightness58%
Temperature
Warm ← → Cool28% 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#df4b7d
RGBrgb(223, 75, 125)
HSLhsl(340, 70%, 58%)
CMYKcmyk(0%, 66%, 44%, 13%)
LABlab(54.2 61.2 4.2)
LCHlch(54.2 61.3 3.9)
OKLCHoklch(0.630 0.187 3.5)
Decimal14633853
Display P3color(display-p3 0.875 0.294 0.490)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4b7d on white: 3.86:1
AA ✗ fail · AA-large · AAA
Aa
#df4b7d on black: 5.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6A6F7E
deuteranopia · #918C7A
tritanopia · #F2375F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df4b7d is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF3F6
#F8E7ED
#F2C9D7
#EEA0BA
#E67098
#df4b7d
#D0255F
#AD1F4F
#8B193F
#651630
#3F0E1E
Base = 500Lightest = 50 · #FCF3F6Darkest = 950 · #3F0E1E
:root {
  --brand-50: #FCF3F6;
  --brand-100: #F8E7ED;
  --brand-200: #F2C9D7;
  --brand-300: #EEA0BA;
  --brand-400: #E67098;
  --brand-500: #df4b7d;
  --brand-600: #D0255F;
  --brand-700: #AD1F4F;
  --brand-800: #8B193F;
  --brand-900: #651630;
  --brand-950: #3F0E1E;
  --brand: #df4b7d;
  --brand-ink: #000000;
}

Colors that work with #df4b7d

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#EDC0CF
Hairlines and dividers
Muted text#9B4B66
Captions on the surface
Accent#1BB158
Second voice, not a rival
Dark variant#6C1331
Hover, pressed, headers
Light variant#FBE9EF
Selected rows, tints
Dark surface#241419
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 #df4b7d

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#4BDFAD
Analogous left#DF4BC7
Analogous right#DF634B
Split-complement 1#4BDF63
Split-complement 2#4BC7DF
Triadic 1#7DDF4B
Triadic 2#4B7DDF
Tetradic#C7DF4B

RGB percentages

Red87.5%
Green29.4%
Blue49.0%

CMYK percentages

Cyan0.0%
Magenta66.4%
Yellow43.9%
Key (black)12.5%

Color previews

#df4b7d text on a black background

contrast 5.44:1

Card sample

#df4b7d text on a white background

contrast 3.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4b7d

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.

#df4b7d 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
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#df4b7d, answered

What color is #df4b7d?

#df4b7d is a balanced vivid magenta / pink, closest to Deep Pink (ΔE2000 7). It sits at 340° on the hue wheel with 70% saturation and 58% lightness, which reads as warm.

What is the RGB value of #df4b7d?

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

Is #df4b7d a light or a dark color?

It is a mid-tone. Relative luminance is 0.2220 and perceived brightness is 55%, so black text on it reaches 5.44:1.

Should I use black or white text on #df4b7d?

Black. It scores 5.44:1 against #df4b7d, versus 3.86:1 for white — AA at any size.

What is the complementary color of #df4b7d?

#4BDFAD sits directly opposite on the wheel. Softer options are the split-complements #4BDF63 and #4BC7DF, which give the same contrast with far less vibration.

What colors go well with #df4b7d?

For interface work: #FAF4F6 as the surface, #EDC0CF for borders, #9B4B66 for secondary text, #1BB158 as an accent and #6C1331 for hover and pressed states. For a palette, the analogous pair #DF4BC7 and #DF634B stays calm, while #4BDFAD is the loudest partner.

What is #df4b7d in CMYK for printing?

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

Is #df4b7d warm or cool?

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

Work with #df4b7d in the Color Lab