Skip to content

#df2172

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

RGB
223, 33, 114
HSL
334°, 75%, 50%
CMYK
0, 85, 49, 13
Luminance
0.1799

At a glance

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

Hex
#df2172
Hue
334°
magenta / pink
Saturation
75%
vivid
Lightness
50%
balanced
Brightness
87%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1799
WCAG relative
Temperature
Warm
31/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.60:1
Closest name
Deep Pink
ΔE2000 7.8
Where it sits
Hue334° of 360°
Saturation75%
Lightness50%
Temperature
Warm ← → Cool31% 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#df2172
RGBrgb(223, 33, 114)
HSLhsl(334, 75%, 50%)
CMYKcmyk(0%, 85%, 49%, 13%)
LABlab(49.5 72.7 4.0)
LCHlch(49.5 72.8 3.1)
OKLCHoklch(0.594 0.224 2.8)
Decimal14623090
Display P3color(display-p3 0.875 0.129 0.447)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2172 on white: 4.57:1
AA ✓ pass · AA-large · AAA
Aa
#df2172 on black: 4.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #565E74
deuteranopia · #88826E
tritanopia · #F30048

Color scale — 50 to 950

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

#FCF3F7
#F9E7EE
#F4C8DB
#F19DC1
#EA6CA2
#E33B82
#df2172
#B21A5B
#8F1549
#671337
#410C22
Base = 600Lightest = 50 · #FCF3F7Darkest = 950 · #410C22
:root {
  --brand-50: #FCF3F7;
  --brand-100: #F9E7EE;
  --brand-200: #F4C8DB;
  --brand-300: #F19DC1;
  --brand-400: #EA6CA2;
  --brand-500: #E33B82;
  --brand-600: #df2172;
  --brand-700: #B21A5B;
  --brand-800: #8F1549;
  --brand-900: #671337;
  --brand-950: #410C22;
  --brand: #df2172;
  --brand-ink: #000000;
}

Colors that work with #df2172

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#FAF4F7
Tinted page background
Border#EDC0D3
Hairlines and dividers
Muted text#9B4B6D
Captions on the surface
Accent#16B64A
Second voice, not a rival
Dark variant#6F1039
Hover, pressed, headers
Light variant#FCE9F1
Selected rows, tints
Dark surface#24141B
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 #df2172

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

Works well for
  • Body text and links 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
  • 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#21DF8E
Analogous left#DF21D1
Analogous right#DF2F21
Split-complement 1#21DF2F
Split-complement 2#21D1DF
Triadic 1#72DF21
Triadic 2#2172DF
Tetradic#D1DF21

RGB percentages

Red87.5%
Green12.9%
Blue44.7%

CMYK percentages

Cyan0.0%
Magenta85.2%
Yellow48.9%
Key (black)12.5%

Color previews

#df2172 text on a black background

contrast 4.60:1

Card sample

#df2172 text on a white background

contrast 4.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2172

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.

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

#df2172, answered

What color is #df2172?

#df2172 is a balanced vivid magenta / pink, closest to Deep Pink (ΔE2000 7.8). It sits at 334° on the hue wheel with 75% saturation and 50% lightness, which reads as warm.

What is the RGB value of #df2172?

rgb(223, 33, 114) — 223 red, 33 green and 114 blue out of 255, or 87.5% / 12.9% / 44.7% by channel.

Is #df2172 a light or a dark color?

It is a dark color. Relative luminance is 0.1799 and perceived brightness is 51%, so black text on it reaches 4.60:1.

Should I use black or white text on #df2172?

Black. It scores 4.60:1 against #df2172, versus 4.57:1 for white — AA at any size.

What is the complementary color of #df2172?

#21DF8E sits directly opposite on the wheel. Softer options are the split-complements #21DF2F and #21D1DF, which give the same contrast with far less vibration.

What colors go well with #df2172?

For interface work: #FAF4F7 as the surface, #EDC0D3 for borders, #9B4B6D for secondary text, #16B64A as an accent and #6F1039 for hover and pressed states. For a palette, the analogous pair #DF21D1 and #DF2F21 stays calm, while #21DF8E is the loudest partner.

What is #df2172 in CMYK for printing?

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

Is #df2172 warm or cool?

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

Work with #df2172 in the Color Lab