Skip to content

#df2d6b

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

RGB
223, 45, 107
HSL
339°, 74%, 53%
CMYK
0, 80, 52, 13
Luminance
0.1863

At a glance

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

Hex
#df2d6b
Hue
339°
magenta / pink
Saturation
74%
vivid
Lightness
53%
balanced
Brightness
87%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1863
WCAG relative
Temperature
Warm
28/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.73:1
Closest name
Deep Pink
ΔE2000 8.9
Where it sits
Hue339° of 360°
Saturation74%
Lightness53%
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#df2d6b
RGBrgb(223, 45, 107)
HSLhsl(339, 74%, 53%)
CMYKcmyk(0%, 80%, 52%, 13%)
LABlab(50.3 69.5 9.3)
LCHlch(50.3 70.1 7.7)
OKLCHoklch(0.599 0.213 6.5)
Decimal14626155
Display P3color(display-p3 0.875 0.176 0.420)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2d6b on white: 4.44:1
AA ✗ fail · AA-large · AAA
Aa
#df2d6b on black: 4.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5D616C
deuteranopia · #8B8467
tritanopia · #F30049

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df2d6b 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
#F3C8D7
#F09EBA
#E96D98
#df2d6b
#D4205F
#B11B4F
#8E163F
#671431
#400C1E
Base = 500Lightest = 50 · #FCF3F6Darkest = 950 · #400C1E
:root {
  --brand-50: #FCF3F6;
  --brand-100: #F8E7ED;
  --brand-200: #F3C8D7;
  --brand-300: #F09EBA;
  --brand-400: #E96D98;
  --brand-500: #df2d6b;
  --brand-600: #D4205F;
  --brand-700: #B11B4F;
  --brand-800: #8E163F;
  --brand-900: #671431;
  --brand-950: #400C1E;
  --brand: #df2d6b;
  --brand-ink: #000000;
}

Colors that work with #df2d6b

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#9B4B67
Captions on the surface
Accent#17B556
Second voice, not a rival
Dark variant#6F1132
Hover, pressed, headers
Light variant#FCE9EF
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 #df2d6b

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#2DDFA1
Analogous left#DF2DC4
Analogous right#DF482D
Split-complement 1#2DDF48
Split-complement 2#2DC4DF
Triadic 1#6BDF2D
Triadic 2#2D6BDF
Tetradic#C4DF2D

RGB percentages

Red87.5%
Green17.6%
Blue42.0%

CMYK percentages

Cyan0.0%
Magenta79.8%
Yellow52.0%
Key (black)12.5%

Color previews

#df2d6b text on a black background

contrast 4.73:1

Card sample

#df2d6b text on a white background

contrast 4.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2d6b

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.

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

#df2d6b, answered

What color is #df2d6b?

#df2d6b is a balanced vivid magenta / pink, closest to Deep Pink (ΔE2000 8.9). It sits at 339° on the hue wheel with 74% saturation and 53% lightness, which reads as warm.

What is the RGB value of #df2d6b?

rgb(223, 45, 107) — 223 red, 45 green and 107 blue out of 255, or 87.5% / 17.6% / 42% by channel.

Is #df2d6b a light or a dark color?

It is a mid-tone. Relative luminance is 0.1863 and perceived brightness is 52%, so black text on it reaches 4.73:1.

Should I use black or white text on #df2d6b?

Black. It scores 4.73:1 against #df2d6b, versus 4.44:1 for white — AA at any size.

What is the complementary color of #df2d6b?

#2DDFA1 sits directly opposite on the wheel. Softer options are the split-complements #2DDF48 and #2DC4DF, which give the same contrast with far less vibration.

What colors go well with #df2d6b?

For interface work: #FAF4F6 as the surface, #EDC0CF for borders, #9B4B67 for secondary text, #17B556 as an accent and #6F1132 for hover and pressed states. For a palette, the analogous pair #DF2DC4 and #DF482D stays calm, while #2DDFA1 is the loudest partner.

What is #df2d6b in CMYK for printing?

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

Is #df2d6b 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 #DF302D; nudged cooler, #E12AAD.

Work with #df2d6b in the Color Lab