#df0ff8
a balanced, electric magenta / pink · neutral · closest name: Magenta
At a glance
Every number on this page in one read: what #df0ff8 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 | #df0ff8 |
| RGB | rgb(223, 15, 248) |
| HSL | hsl(294, 94%, 52%) |
| CMYK | cmyk(10%, 94%, 0%, 3%) |
| LAB | lab(54.9 91.4 -66.0) |
| LCH | lch(54.9 112.7 324.2) |
| OKLCH | oklch(0.652 0.304 322.5) |
| Decimal | 14618616 |
| Display P3 | color(display-p3 0.875 0.059 0.973) |
Copy-ready code
/* CSS */
color: #df0ff8;
background-color: #df0ff8;
/* Tailwind (arbitrary) */
class="text-[#df0ff8] bg-[#df0ff8]"
/* SCSS */
$brand: #df0ff8;
/* SwiftUI */
Color(red: 0.875, green: 0.059, blue: 0.973)
/* Android */
Color.parseColor("#df0ff8")
/* Flutter */
Color(0xFFDF0FF8)
/* Python / OpenCV (BGR) */
(248, 15, 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. #df0ff8 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.
:root {
--brand-50: #FCF2FD;
--brand-100: #F9E4FB;
--brand-200: #F4C2FA;
--brand-300: #F192FC;
--brand-400: #E95BFA;
--brand-500: #E225F9;
--brand-600: #df0ff8;
--brand-700: #B206C6;
--brand-800: #8E059F;
--brand-900: #670872;
--brand-950: #400547;
--brand: #df0ff8;
--brand-ink: #000000;
}Colors that work with #df0ff8
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 #df0ff8
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 | #28F80F | Directly opposite — maximum tension | |
| Analogous left | #6B0FF8 | Neighbour, quieter | |
| Analogous right | #F80F9C | Neighbour, quieter | |
| Split-complement 1 | #9CF80F | Contrast without the clash | |
| Split-complement 2 | #0FF86B | Contrast without the clash | |
| Triadic 1 | #F8DF0F | Even thirds — balanced and loud | |
| Triadic 2 | #0FF8DF | Even thirds — balanced and loud | |
| Tetradic | #F86B0F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#df0ff8 text on a black background
contrast 5.56:1
#df0ff8 text on a white background
contrast 3.78:1
CSS3 live lab
The quick brown fox
color: #df0ff8;
background-color: #df0ff8;
Glowing headline
text-shadow: 2px 2px 8px #df0ff8;
Soft neon halo
text-shadow: 0 0 14px rgba(223, 15, 248, 0.45);
box-shadow: 0 12px 32px -8px rgba(223, 15, 248, 0.45);
border: 3px solid #df0ff8; background: linear-gradient(135deg, #df0ff8, #F80F76);
Monochromatic scale
Palettes built from #df0ff8
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 5.6 away, with its history, psychology and brand usage.
#df0ff8 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.
#df0ff8, answered
What color is #df0ff8?
#df0ff8 is a balanced electric magenta / pink, closest to Magenta (ΔE2000 5.6). It sits at 294° on the hue wheel with 94% saturation and 52% lightness, which reads as neutral.
What is the RGB value of #df0ff8?
rgb(223, 15, 248) — 223 red, 15 green and 248 blue out of 255, or 87.5% / 5.9% / 97.3% by channel.
Is #df0ff8 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2281 and perceived brightness is 58%, so black text on it reaches 5.56:1.
Should I use black or white text on #df0ff8?
Black. It scores 5.56:1 against #df0ff8, versus 3.78:1 for white — AA at any size.
What is the complementary color of #df0ff8?
#28F80F sits directly opposite on the wheel. Softer options are the split-complements #9CF80F and #0FF86B, which give the same contrast with far less vibration.
What colors go well with #df0ff8?
For interface work: #FAF4FA as the surface, #E8C0ED for borders, #924B9B for secondary text, #4ACA02 as an accent and #6F047C for hover and pressed states. For a palette, the analogous pair #6B0FF8 and #F80F9C stays calm, while #28F80F is the loudest partner.
What is #df0ff8 in CMYK for printing?
cmyk(10%, 94%, 0%, 3%). 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 #df0ff8 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 #F80FBB; nudged cooler, #8A0DFA.