Skip to content

#df56f6

a light, electric magenta / pink · neutral · closest name: Magenta

RGB
223, 86, 246
HSL
291°, 90%, 65%
CMYK
9, 65, 0, 4
Luminance
0.2900

At a glance

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

Hex
#df56f6
Hue
291°
magenta / pink
Saturation
90%
electric
Lightness
65%
light
Brightness
96%
HSV value
Perceived
63%
weighted brightness
Luminance
0.2900
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.80:1
Closest name
Magenta
ΔE2000 5.2
Where it sits
Hue291° of 360°
Saturation90%
Lightness65%
Temperature
Warm ← → Cool55% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#df56f6
RGBrgb(223, 86, 246)
HSLhsl(291, 90%, 65%)
CMYKcmyk(9%, 65%, 0%, 4%)
LABlab(60.8 73.7 -55.4)
LCHlch(60.8 92.2 323.1)
OKLCHoklch(0.694 0.249 321.6)
Decimal14636790
Display P3color(display-p3 0.875 0.337 0.965)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df56f6 on white: 3.09:1
AA ✗ fail · AA-large · AAA
Aa
#df56f6 on black: 6.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2889FB
deuteranopia · #6998F2
tritanopia · #E1719F

Color scale — 50 to 950

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

#FBF2FD
#F8E5FB
#F1C3F8
#EB94F9
#df56f6
#D72AF4
#C90CE8
#A70AC2
#86089B
#610B70
#3D0746
Base = 400Lightest = 50 · #FBF2FDDarkest = 950 · #3D0746
:root {
  --brand-50: #FBF2FD;
  --brand-100: #F8E5FB;
  --brand-200: #F1C3F8;
  --brand-300: #EB94F9;
  --brand-400: #df56f6;
  --brand-500: #D72AF4;
  --brand-600: #C90CE8;
  --brand-700: #A70AC2;
  --brand-800: #86089B;
  --brand-900: #610B70;
  --brand-950: #3D0746;
  --brand: #df56f6;
  --brand-ink: #000000;
}

Colors that work with #df56f6

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#FAF4FA
Tinted page background
Border#E6C0ED
Hairlines and dividers
Muted text#8F4B9B
Captions on the surface
Accent#51C606
Second voice, not a rival
Dark variant#690679
Hover, pressed, headers
Light variant#FAE7FE
Selected rows, tints
Dark surface#221424
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 #df56f6

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#6DF656
Analogous left#8F56F6
Analogous right#F656BD
Split-complement 1#BDF656
Split-complement 2#56F68F
Triadic 1#F6DF56
Triadic 2#56F6DF
Tetradic#F68F56

RGB percentages

Red87.5%
Green33.7%
Blue96.5%

CMYK percentages

Cyan9.3%
Magenta65.0%
Yellow0.0%
Key (black)3.5%

Color previews

#df56f6 text on a black background

contrast 6.80:1

Card sample

#df56f6 text on a white background

contrast 3.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df56f6

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.

#df56f6 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#df56f6, answered

What color is #df56f6?

#df56f6 is a light electric magenta / pink, closest to Magenta (ΔE2000 5.2). It sits at 291° on the hue wheel with 90% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #df56f6?

rgb(223, 86, 246) — 223 red, 86 green and 246 blue out of 255, or 87.5% / 33.7% / 96.5% by channel.

Is #df56f6 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2900 and perceived brightness is 63%, so black text on it reaches 6.80:1.

Should I use black or white text on #df56f6?

Black. It scores 6.80:1 against #df56f6, versus 3.09:1 for white — AA at any size.

What is the complementary color of #df56f6?

#6DF656 sits directly opposite on the wheel. Softer options are the split-complements #BDF656 and #56F68F, which give the same contrast with far less vibration.

What colors go well with #df56f6?

For interface work: #FAF4FA as the surface, #E6C0ED for borders, #8F4B9B for secondary text, #51C606 as an accent and #690679 for hover and pressed states. For a palette, the analogous pair #8F56F6 and #F656BD stays calm, while #6DF656 is the loudest partner.

What is #df56f6 in CMYK for printing?

cmyk(9%, 65%, 0%, 4%). 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 #df56f6 warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F656D2; nudged cooler, #A454F8.

Work with #df56f6 in the Color Lab