#df2bf9
a balanced, electric magenta / pink · neutral · closest name: Magenta
At a glance
Every number on this page in one read: what #df2bf9 is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #df2bf9 |
| RGB | rgb(223, 43, 249) |
| HSL | hsl(292, 95%, 57%) |
| CMYK | cmyk(10%, 83%, 0%, 2%) |
| LAB | lab(56.4 87.4 -64.2) |
| LCH | lch(56.4 108.4 323.7) |
| OKLCH | oklch(0.663 0.292 322.0) |
| Decimal | 14625785 |
| Display P3 | color(display-p3 0.875 0.169 0.976) |
Copy-ready code
/* CSS */
color: #df2bf9;
background-color: #df2bf9;
/* Tailwind (arbitrary) */
class="text-[#df2bf9] bg-[#df2bf9]"
/* SCSS */
$brand: #df2bf9;
/* SwiftUI */
Color(red: 0.875, green: 0.169, blue: 0.976)
/* Android */
Color.parseColor("#df2bf9")
/* Flutter */
Color(0xFFDF2BF9)
/* Python / OpenCV (BGR) */
(249, 43, 223)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #df2bf9 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FCF1FD;
--brand-100: #F8E4FB;
--brand-200: #F3C2FA;
--brand-300: #EE92FC;
--brand-400: #E65BFA;
--brand-500: #df2bf9;
--brand-600: #D107EE;
--brand-700: #AE06C6;
--brand-800: #8B049F;
--brand-900: #650872;
--brand-950: #3F0548;
--brand: #df2bf9;
--brand-ink: #000000;
}Colors that work with #df2bf9
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #df2bf9
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up 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
- ⚠Small text on white — under 4.5:1
- ⚠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 | #45F92B | Directly opposite — maximum tension | |
| Analogous left | #782BF9 | Neighbour, quieter | |
| Analogous right | #F92BAC | Neighbour, quieter | |
| Split-complement 1 | #ACF92B | Contrast without the clash | |
| Split-complement 2 | #2BF978 | Contrast without the clash | |
| Triadic 1 | #F9DF2B | Even thirds — balanced and loud | |
| Triadic 2 | #2BF9DF | Even thirds — balanced and loud | |
| Tetradic | #F9782B | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#df2bf9 text on a black background
contrast 5.85:1
#df2bf9 text on a white background
contrast 3.59:1
CSS3 live lab
The quick brown fox
color: #df2bf9;
background-color: #df2bf9;
Glowing headline
text-shadow: 2px 2px 8px #df2bf9;
Soft neon halo
text-shadow: 0 0 14px rgba(223, 43, 249, 0.45);
box-shadow: 0 12px 32px -8px rgba(223, 43, 249, 0.45);
border: 3px solid #df2bf9; background: linear-gradient(135deg, #df2bf9, #F92B8A);
Monochromatic scale
Palettes built from #df2bf9
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.
Closest color with a full write-up: Magenta (#ff00ff) — ΔE2000 4.8 away, with its history, psychology and brand usage.
#df2bf9 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#df2bf9, answered
What color is #df2bf9?
#df2bf9 is a balanced electric magenta / pink, closest to Magenta (ΔE2000 4.8). It sits at 292° on the hue wheel with 95% saturation and 57% lightness, which reads as neutral.
What is the RGB value of #df2bf9?
rgb(223, 43, 249) — 223 red, 43 green and 249 blue out of 255, or 87.5% / 16.9% / 97.6% by channel.
Is #df2bf9 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2426 and perceived brightness is 60%, so black text on it reaches 5.85:1.
Should I use black or white text on #df2bf9?
Black. It scores 5.85:1 against #df2bf9, versus 3.59:1 for white — AA at any size.
What is the complementary color of #df2bf9?
#45F92B sits directly opposite on the wheel. Softer options are the split-complements #ACF92B and #2BF978, which give the same contrast with far less vibration.
What colors go well with #df2bf9?
For interface work: #FAF4FA as the surface, #E7C0ED for borders, #914B9B for secondary text, #4ECA02 as an accent and #6D047C for hover and pressed states. For a palette, the analogous pair #782BF9 and #F92BAC stays calm, while #45F92B is the loudest partner.
What is #df2bf9 in CMYK for printing?
cmyk(10%, 83%, 0%, 2%). 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 #df2bf9 warm or cool?
Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F92BC8; nudged cooler, #9429FB.