Skip to content

#df0986

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

RGB
223, 9, 134
HSL
325°, 92%, 46%
CMYK
0, 96, 40, 13
Luminance
0.1760

At a glance

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

Hex
#df0986
Hue
325°
magenta / pink
Saturation
92%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1760
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.65:1
Closest name
Medium Violet Red
ΔE2000 5.1
Where it sits
Hue325° of 360°
Saturation92%
Lightness46%
Temperature
Warm ← → Cool36% 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#df0986
RGBrgb(223, 9, 134)
HSLhsl(325, 92%, 46%)
CMYKcmyk(0%, 96%, 40%, 13%)
LABlab(49.0 77.6 -8.9)
LCHlch(49.0 78.1 353.5)
OKLCHoklch(0.592 0.241 354.6)
Decimal14616966
Display P3color(display-p3 0.875 0.035 0.525)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0986 on white: 4.65:1
AA ✓ pass · AA-large · AAA
Aa
#df0986 on black: 4.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #495D88
deuteranopia · #818182
tritanopia · #F1004F

Color scale — 50 to 950

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

#FDF2F8
#FBE4F2
#F9C3E2
#FB93D0
#F85DB8
#F627A0
#df0986
#C40876
#9D065E
#710946
#47062C
Base = 600Lightest = 50 · #FDF2F8Darkest = 950 · #47062C
:root {
  --brand-50: #FDF2F8;
  --brand-100: #FBE4F2;
  --brand-200: #F9C3E2;
  --brand-300: #FB93D0;
  --brand-400: #F85DB8;
  --brand-500: #F627A0;
  --brand-600: #df0986;
  --brand-700: #C40876;
  --brand-800: #9D065E;
  --brand-900: #710946;
  --brand-950: #47062C;
  --brand: #df0986;
  --brand-ink: #ffffff;
}

Colors that work with #df0986

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#FAF4F8
Tinted page background
Border#EDC0DA
Hairlines and dividers
Muted text#9B4B79
Captions on the surface
Accent#03C925
Second voice, not a rival
Dark variant#7B054A
Hover, pressed, headers
Light variant#FEE6F4
Selected rows, tints
Dark surface#24141D
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 #df0986

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#09DF62
Analogous left#CD09DF
Analogous right#DF091B
Split-complement 1#1BDF09
Split-complement 2#09DFCD
Triadic 1#86DF09
Triadic 2#0986DF
Tetradic#DFCD09

RGB percentages

Red87.5%
Green3.5%
Blue52.5%

CMYK percentages

Cyan0.0%
Magenta96.0%
Yellow39.9%
Key (black)12.5%

Color previews

#df0986 text on a black background

contrast 4.52:1

Card sample

#df0986 text on a white background

contrast 4.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0986

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.

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

#df0986, answered

What color is #df0986?

#df0986 is a balanced electric magenta / pink, closest to Medium Violet Red (ΔE2000 5.1). It sits at 325° on the hue wheel with 92% saturation and 46% lightness, which reads as warm.

What is the RGB value of #df0986?

rgb(223, 9, 134) — 223 red, 9 green and 134 blue out of 255, or 87.5% / 3.5% / 52.5% by channel.

Is #df0986 a light or a dark color?

It is a dark color. Relative luminance is 0.1760 and perceived brightness is 51%, so white text on it reaches 4.65:1.

Should I use black or white text on #df0986?

White. It scores 4.65:1 against #df0986, versus 4.52:1 for black — AA at any size.

What is the complementary color of #df0986?

#09DF62 sits directly opposite on the wheel. Softer options are the split-complements #1BDF09 and #09DFCD, which give the same contrast with far less vibration.

What colors go well with #df0986?

For interface work: #FAF4F8 as the surface, #EDC0DA for borders, #9B4B79 for secondary text, #03C925 as an accent and #7B054A for hover and pressed states. For a palette, the analogous pair #CD09DF and #DF091B stays calm, while #09DF62 is the loudest partner.

What is #df0986 in CMYK for printing?

cmyk(0%, 96%, 40%, 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 #df0986 warm or cool?

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

Work with #df0986 in the Color Lab