Skip to content

#df076d

a balanced, electric magenta / pink · warm · closest name: Medium Violet Red

RGB
223, 7, 109
HSL
332°, 94%, 45%
CMYK
0, 97, 51, 13
Luminance
0.1694

At a glance

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

Hex
#df076d
Hue
332°
magenta / pink
Saturation
94%
electric
Lightness
45%
balanced
Brightness
87%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1694
WCAG relative
Temperature
Warm
32/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.78:1
Closest name
Medium Violet Red
ΔE2000 8.8
Where it sits
Hue332° of 360°
Saturation94%
Lightness45%
Temperature
Warm ← → Cool32% 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#df076d
RGBrgb(223, 7, 109)
HSLhsl(332, 94%, 45%)
CMYKcmyk(0%, 97%, 51%, 13%)
LABlab(48.2 75.7 5.2)
LCHlch(48.2 75.8 3.9)
OKLCHoklch(0.584 0.233 3.4)
Decimal14616429
Display P3color(display-p3 0.875 0.027 0.427)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df076d on white: 4.78:1
AA ✓ pass · AA-large · AAA
Aa
#df076d on black: 4.39:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #515A6F
deuteranopia · #868068
tritanopia · #F30040

Color scale — 50 to 950

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

#FDF2F7
#FBE4EF
#FAC2DC
#FC92C4
#FA5CA6
#F82589
#df076d
#C60661
#9E054D
#72083A
#470524
Base = 600Lightest = 50 · #FDF2F7Darkest = 950 · #470524
:root {
  --brand-50: #FDF2F7;
  --brand-100: #FBE4EF;
  --brand-200: #FAC2DC;
  --brand-300: #FC92C4;
  --brand-400: #FA5CA6;
  --brand-500: #F82589;
  --brand-600: #df076d;
  --brand-700: #C60661;
  --brand-800: #9E054D;
  --brand-900: #72083A;
  --brand-950: #470524;
  --brand: #df076d;
  --brand-ink: #ffffff;
}

Colors that work with #df076d

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4F7
Tinted page background
Border#EDC0D5
Hairlines and dividers
Muted text#9B4B70
Captions on the surface
Accent#02CA3A
Second voice, not a rival
Dark variant#7C043C
Hover, pressed, headers
Light variant#FEE6F2
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 #df076d

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

Works well for
  • Body text and links on white
  • 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#07DF79
Analogous left#DF07D9
Analogous right#DF0D07
Split-complement 1#07DF0D
Split-complement 2#07D9DF
Triadic 1#6DDF07
Triadic 2#076DDF
Tetradic#D9DF07

RGB percentages

Red87.5%
Green2.7%
Blue42.7%

CMYK percentages

Cyan0.0%
Magenta96.9%
Yellow51.1%
Key (black)12.5%

Color previews

#df076d text on a black background

contrast 4.39:1

Card sample

#df076d text on a white background

contrast 4.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df076d

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.

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

#df076d, answered

What color is #df076d?

#df076d is a balanced electric magenta / pink, closest to Medium Violet Red (ΔE2000 8.8). It sits at 332° on the hue wheel with 94% saturation and 45% lightness, which reads as warm.

What is the RGB value of #df076d?

rgb(223, 7, 109) — 223 red, 7 green and 109 blue out of 255, or 87.5% / 2.7% / 42.7% by channel.

Is #df076d a light or a dark color?

It is a dark color. Relative luminance is 0.1694 and perceived brightness is 50%, so white text on it reaches 4.78:1.

Should I use black or white text on #df076d?

White. It scores 4.78:1 against #df076d, versus 4.39:1 for black — AA at any size.

What is the complementary color of #df076d?

#07DF79 sits directly opposite on the wheel. Softer options are the split-complements #07DF0D and #07D9DF, which give the same contrast with far less vibration.

What colors go well with #df076d?

For interface work: #FAF4F7 as the surface, #EDC0D5 for borders, #9B4B70 for secondary text, #02CA3A as an accent and #7C043C for hover and pressed states. For a palette, the analogous pair #DF07D9 and #DF0D07 stays calm, while #07DF79 is the loudest partner.

What is #df076d in CMYK for printing?

cmyk(0%, 97%, 51%, 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 #df076d warm or cool?

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

Work with #df076d in the Color Lab