Skip to content

#df5f8b

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

RGB
223, 95, 139
HSL
339°, 67%, 62%
CMYK
0, 57, 38, 13
Luminance
0.2574

At a glance

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

Hex
#df5f8b
Hue
339°
magenta / pink
Saturation
67%
vivid
Lightness
62%
balanced
Brightness
87%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2574
WCAG relative
Temperature
Warm
28/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
6.15:1
Closest name
Pale Violet Red
ΔE2000 3.6
Where it sits
Hue339° of 360°
Saturation67%
Lightness62%
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#df5f8b
RGBrgb(223, 95, 139)
HSLhsl(339, 67%, 62%)
CMYKcmyk(0%, 57%, 38%, 13%)
LABlab(57.8 54.1 1.1)
LCHlch(57.8 54.1 1.1)
OKLCHoklch(0.657 0.165 1.2)
Decimal14638987
Display P3color(display-p3 0.875 0.373 0.545)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df5f8b on white: 3.42:1
AA ✗ fail · AA-large · AAA
Aa
#df5f8b on black: 6.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #767C8C
deuteranopia · #979488
tritanopia · #F05370

Color scale — 50 to 950

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

#FBF3F6
#F8E8ED
#F1CAD8
#ECA1BB
#df5f8b
#DA4477
#CC2961
#AA2251
#881B41
#631831
#3E0F1F
Base = 400Lightest = 50 · #FBF3F6Darkest = 950 · #3E0F1F
:root {
  --brand-50: #FBF3F6;
  --brand-100: #F8E8ED;
  --brand-200: #F1CAD8;
  --brand-300: #ECA1BB;
  --brand-400: #df5f8b;
  --brand-500: #DA4477;
  --brand-600: #CC2961;
  --brand-700: #AA2251;
  --brand-800: #881B41;
  --brand-900: #631831;
  --brand-950: #3E0F1F;
  --brand: #df5f8b;
  --brand-ink: #000000;
}

Colors that work with #df5f8b

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#1EAE58
Second voice, not a rival
Dark variant#6A1532
Hover, pressed, headers
Light variant#FBEAF0
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 #df5f8b

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#5FDFB3
Analogous left#DF5FCB
Analogous right#DF735F
Split-complement 1#5FDF73
Split-complement 2#5FCBDF
Triadic 1#8BDF5F
Triadic 2#5F8BDF
Tetradic#CBDF5F

RGB percentages

Red87.5%
Green37.3%
Blue54.5%

CMYK percentages

Cyan0.0%
Magenta57.4%
Yellow37.7%
Key (black)12.5%

Color previews

#df5f8b text on a black background

contrast 6.15:1

Card sample

#df5f8b text on a white background

contrast 3.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df5f8b

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.

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

#df5f8b, answered

What color is #df5f8b?

#df5f8b is a balanced vivid magenta / pink, closest to Pale Violet Red (ΔE2000 3.6). It sits at 339° on the hue wheel with 67% saturation and 62% lightness, which reads as warm.

What is the RGB value of #df5f8b?

rgb(223, 95, 139) — 223 red, 95 green and 139 blue out of 255, or 87.5% / 37.3% / 54.5% by channel.

Is #df5f8b a light or a dark color?

It is a mid-tone. Relative luminance is 0.2574 and perceived brightness is 59%, so black text on it reaches 6.15:1.

Should I use black or white text on #df5f8b?

Black. It scores 6.15:1 against #df5f8b, versus 3.42:1 for white — AA at any size.

What is the complementary color of #df5f8b?

#5FDFB3 sits directly opposite on the wheel. Softer options are the split-complements #5FDF73 and #5FCBDF, which give the same contrast with far less vibration.

What colors go well with #df5f8b?

For interface work: #FAF4F6 as the surface, #EDC0CF for borders, #9B4B66 for secondary text, #1EAE58 as an accent and #6A1532 for hover and pressed states. For a palette, the analogous pair #DF5FCB and #DF735F stays calm, while #5FDFB3 is the loudest partner.

What is #df5f8b in CMYK for printing?

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

Is #df5f8b 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 #DF625F; nudged cooler, #E15DBB.

Work with #df5f8b in the Color Lab