Skip to content

#df1d7d

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

RGB
223, 29, 125
HSL
330°, 77%, 49%
CMYK
0, 87, 44, 13
Luminance
0.1805

At a glance

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

Hex
#df1d7d
Hue
330°
magenta / pink
Saturation
77%
electric
Lightness
49%
balanced
Brightness
87%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1805
WCAG relative
Temperature
Warm
33/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.61:1
Closest name
Deep Pink
ΔE2000 6.7
Where it sits
Hue330° of 360°
Saturation77%
Lightness49%
Temperature
Warm ← → Cool33% 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#df1d7d
RGBrgb(223, 29, 125)
HSLhsl(330, 77%, 49%)
CMYKcmyk(0%, 87%, 44%, 13%)
LABlab(49.6 74.3 -2.6)
LCHlch(49.6 74.4 358.0)
OKLCHoklch(0.595 0.229 358.5)
Decimal14622077
Display P3color(display-p3 0.875 0.114 0.490)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1d7d on white: 4.56:1
AA ✓ pass · AA-large · AAA
Aa
#df1d7d on black: 4.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #515F7F
deuteranopia · #858279
tritanopia · #F2004D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df1d7d 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
#F9E7F0
#F4C7DE
#F29CC6
#EC6AAA
#E5388E
#df1d7d
#B51765
#901351
#69123D
#410B26
Base = 600Lightest = 50 · #FCF3F7Darkest = 950 · #410B26
:root {
  --brand-50: #FCF3F7;
  --brand-100: #F9E7F0;
  --brand-200: #F4C7DE;
  --brand-300: #F29CC6;
  --brand-400: #EC6AAA;
  --brand-500: #E5388E;
  --brand-600: #df1d7d;
  --brand-700: #B51765;
  --brand-800: #901351;
  --brand-900: #69123D;
  --brand-950: #410B26;
  --brand: #df1d7d;
  --brand-ink: #000000;
}

Colors that work with #df1d7d

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#EDC0D6
Hairlines and dividers
Muted text#9B4B72
Captions on the surface
Accent#13B93E
Second voice, not a rival
Dark variant#710F3F
Hover, pressed, headers
Light variant#FCE8F2
Selected rows, tints
Dark surface#24141C
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 #df1d7d

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#1DDF7F
Analogous left#DF1DDE
Analogous right#DF1E1D
Split-complement 1#1DDF1E
Split-complement 2#1DDEDF
Triadic 1#7DDF1D
Triadic 2#1D7DDF
Tetradic#DEDF1D

RGB percentages

Red87.5%
Green11.4%
Blue49.0%

CMYK percentages

Cyan0.0%
Magenta87.0%
Yellow43.9%
Key (black)12.5%

Color previews

#df1d7d text on a black background

contrast 4.61:1

Card sample

#df1d7d text on a white background

contrast 4.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1d7d

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.

#df1d7d 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#df1d7d, answered

What color is #df1d7d?

#df1d7d is a balanced electric magenta / pink, closest to Deep Pink (ΔE2000 6.7). It sits at 330° on the hue wheel with 77% saturation and 49% lightness, which reads as warm.

What is the RGB value of #df1d7d?

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

Is #df1d7d a light or a dark color?

It is a mid-tone. Relative luminance is 0.1805 and perceived brightness is 51%, so black text on it reaches 4.61:1.

Should I use black or white text on #df1d7d?

Black. It scores 4.61:1 against #df1d7d, versus 4.56:1 for white — AA at any size.

What is the complementary color of #df1d7d?

#1DDF7F sits directly opposite on the wheel. Softer options are the split-complements #1DDF1E and #1DDEDF, which give the same contrast with far less vibration.

What colors go well with #df1d7d?

For interface work: #FAF4F7 as the surface, #EDC0D6 for borders, #9B4B72 for secondary text, #13B93E as an accent and #710F3F for hover and pressed states. For a palette, the analogous pair #DF1DDE and #DF1E1D stays calm, while #1DDF7F is the loudest partner.

What is #df1d7d in CMYK for printing?

cmyk(0%, 87%, 44%, 13%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #df1d7d warm or cool?

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

Work with #df1d7d in the Color Lab