Skip to content

#df1d7f

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

RGB
223, 29, 127
HSL
330°, 77%, 49%
CMYK
0, 87, 43, 13
Luminance
0.1810

At a glance

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

Hex
#df1d7f
Hue
330°
magenta / pink
Saturation
77%
electric
Lightness
49%
balanced
Brightness
87%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1810
WCAG relative
Temperature
Warm
33/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.62:1
Closest name
Deep Pink
ΔE2000 6.6
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#df1d7f
RGBrgb(223, 29, 127)
HSLhsl(330, 77%, 49%)
CMYKcmyk(0%, 87%, 43%, 13%)
LABlab(49.6 74.5 -3.8)
LCHlch(49.6 74.6 357.1)
OKLCHoklch(0.596 0.230 357.8)
Decimal14622079
Display P3color(display-p3 0.875 0.114 0.498)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1d7f on white: 4.55:1
AA ✓ pass · AA-large · AAA
Aa
#df1d7f on black: 4.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #515F81
deuteranopia · #85827B
tritanopia · #F2004E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #df1d7f 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
#F29CC7
#EC6AAB
#E53890
#df1d7f
#B51767
#901352
#69123E
#410B27
Base = 600Lightest = 50 · #FCF3F7Darkest = 950 · #410B27
:root {
  --brand-50: #FCF3F7;
  --brand-100: #F9E7F0;
  --brand-200: #F4C7DE;
  --brand-300: #F29CC7;
  --brand-400: #EC6AAB;
  --brand-500: #E53890;
  --brand-600: #df1d7f;
  --brand-700: #B51767;
  --brand-800: #901352;
  --brand-900: #69123E;
  --brand-950: #410B27;
  --brand: #df1d7f;
  --brand-ink: #000000;
}

Colors that work with #df1d7f

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#9B4B73
Captions on the surface
Accent#13B93C
Second voice, not a rival
Dark variant#710F40
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 #df1d7f

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#1DDF7D
Analogous left#DE1DDF
Analogous right#DF1D1E
Split-complement 1#1EDF1D
Split-complement 2#1DDFDE
Triadic 1#7FDF1D
Triadic 2#1D7FDF
Tetradic#DFDE1D

RGB percentages

Red87.5%
Green11.4%
Blue49.8%

CMYK percentages

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

Color previews

#df1d7f text on a black background

contrast 4.62:1

Card sample

#df1d7f text on a white background

contrast 4.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1d7f

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.

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

#df1d7f, answered

What color is #df1d7f?

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

What is the RGB value of #df1d7f?

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

Is #df1d7f a light or a dark color?

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

Should I use black or white text on #df1d7f?

Black. It scores 4.62:1 against #df1d7f, versus 4.55:1 for white — AA at any size.

What is the complementary color of #df1d7f?

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

What colors go well with #df1d7f?

For interface work: #FAF4F7 as the surface, #EDC0D6 for borders, #9B4B73 for secondary text, #13B93C as an accent and #710F40 for hover and pressed states. For a palette, the analogous pair #DE1DDF and #DF1D1E stays calm, while #1DDF7D is the loudest partner.

What is #df1d7f in CMYK for printing?

cmyk(0%, 87%, 43%, 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 #df1d7f 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 #DF1D38; nudged cooler, #E11AC8.

Work with #df1d7f in the Color Lab