#df0fbf
a balanced, electric magenta / pink · neutral · closest name: Medium Orchid
At a glance
Every number on this page in one read: what #df0fbf 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 | #df0fbf |
| RGB | rgb(223, 15, 191) |
| HSL | hsl(309, 87%, 47%) |
| CMYK | cmyk(0%, 93%, 14%, 13%) |
| LAB | lab(51.6 83.3 -38.8) |
| LCH | lch(51.6 91.9 335.1) |
| OKLCH | oklch(0.619 0.268 336.7) |
| Decimal | 14618559 |
| Display P3 | color(display-p3 0.875 0.059 0.749) |
Copy-ready code
/* CSS */
color: #df0fbf;
background-color: #df0fbf;
/* Tailwind (arbitrary) */
class="text-[#df0fbf] bg-[#df0fbf]"
/* SCSS */
$brand: #df0fbf;
/* SwiftUI */
Color(red: 0.875, green: 0.059, blue: 0.749)
/* Android */
Color.parseColor("#df0fbf")
/* Flutter */
Color(0xFFDF0FBF)
/* Python / OpenCV (BGR) */
(191, 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. #df0fbf 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: #FDF2FB;
--brand-100: #FAE5F7;
--brand-200: #F8C4F0;
--brand-300: #F896E9;
--brand-400: #F461DE;
--brand-500: #F12DD3;
--brand-600: #df0fbf;
--brand-700: #BF0DA4;
--brand-800: #990A83;
--brand-900: #6E0C5F;
--brand-950: #45073C;
--brand: #df0fbf;
--brand-ink: #000000;
}Colors that work with #df0fbf
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 #df0fbf
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 | #0FDF2F | Directly opposite — maximum tension | |
| Analogous left | #970FDF | Neighbour, quieter | |
| Analogous right | #DF0F57 | Neighbour, quieter | |
| Split-complement 1 | #57DF0F | Contrast without the clash | |
| Split-complement 2 | #0FDF97 | Contrast without the clash | |
| Triadic 1 | #BFDF0F | Even thirds — balanced and loud | |
| Triadic 2 | #0FBFDF | Even thirds — balanced and loud | |
| Tetradic | #DF970F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#df0fbf text on a black background
contrast 4.96:1
#df0fbf text on a white background
contrast 4.24:1
CSS3 live lab
The quick brown fox
color: #df0fbf;
background-color: #df0fbf;
Glowing headline
text-shadow: 2px 2px 8px #df0fbf;
Soft neon halo
text-shadow: 0 0 14px rgba(223, 15, 191, 0.45);
box-shadow: 0 12px 32px -8px rgba(223, 15, 191, 0.45);
border: 3px solid #df0fbf; background: linear-gradient(135deg, #df0fbf, #DF0F34);
Monochromatic scale
Palettes built from #df0fbf
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 10 away, with its history, psychology and brand usage.
#df0fbf 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.
#df0fbf, answered
What color is #df0fbf?
#df0fbf is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 8.8). It sits at 309° on the hue wheel with 87% saturation and 47% lightness, which reads as neutral.
What is the RGB value of #df0fbf?
rgb(223, 15, 191) — 223 red, 15 green and 191 blue out of 255, or 87.5% / 5.9% / 74.9% by channel.
Is #df0fbf a light or a dark color?
It is a mid-tone. Relative luminance is 0.1979 and perceived brightness is 54%, so black text on it reaches 4.96:1.
Should I use black or white text on #df0fbf?
Black. It scores 4.96:1 against #df0fbf, versus 4.24:1 for white — AA at any size.
What is the complementary color of #df0fbf?
#0FDF2F sits directly opposite on the wheel. Softer options are the split-complements #57DF0F and #0FDF97, which give the same contrast with far less vibration.
What colors go well with #df0fbf?
For interface work: #FAF4F9 as the surface, #EDC0E6 for borders, #9B4B8F for secondary text, #1BC309 as an accent and #770866 for hover and pressed states. For a palette, the analogous pair #970FDF and #DF0F57 stays calm, while #0FDF2F is the loudest partner.
What is #df0fbf in CMYK for printing?
cmyk(0%, 93%, 14%, 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 #df0fbf warm or cool?
Neutral — it scores 45 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF0F73; nudged cooler, #B40DE2.