#df2cdc
a balanced, vivid magenta / pink · neutral · closest name: Magenta
At a glance
Every number on this page in one read: what #df2cdc 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 | #df2cdc |
| RGB | rgb(223, 44, 220) |
| HSL | hsl(301, 74%, 52%) |
| CMYK | cmyk(0%, 80%, 1%, 13%) |
| LAB | lab(54.7 82.7 -50.5) |
| LCH | lch(54.7 96.9 328.6) |
| OKLCH | oklch(0.646 0.271 328.9) |
| Decimal | 14626012 |
| Display P3 | color(display-p3 0.875 0.173 0.863) |
Copy-ready code
/* CSS */
color: #df2cdc;
background-color: #df2cdc;
/* Tailwind (arbitrary) */
class="text-[#df2cdc] bg-[#df2cdc]"
/* SCSS */
$brand: #df2cdc;
/* SwiftUI */
Color(red: 0.875, green: 0.173, blue: 0.863)
/* Android */
Color.parseColor("#df2cdc")
/* Flutter */
Color(0xFFDF2CDC)
/* Python / OpenCV (BGR) */
(220, 44, 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. #df2cdc 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: #FCF3FC;
--brand-100: #F8E7F8;
--brand-200: #F3C8F3;
--brand-300: #F09EEF;
--brand-400: #E96DE7;
--brand-500: #df2cdc;
--brand-600: #D520D2;
--brand-700: #B11BAF;
--brand-800: #8E158C;
--brand-900: #671465;
--brand-950: #400C3F;
--brand: #df2cdc;
--brand-ink: #000000;
}Colors that work with #df2cdc
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 #df2cdc
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 | #2CDF2F | Directly opposite — maximum tension | |
| Analogous left | #892CDF | Neighbour, quieter | |
| Analogous right | #DF2C83 | Neighbour, quieter | |
| Split-complement 1 | #83DF2C | Contrast without the clash | |
| Split-complement 2 | #2CDF89 | Contrast without the clash | |
| Triadic 1 | #DCDF2C | Even thirds — balanced and loud | |
| Triadic 2 | #2CDCDF | Even thirds — balanced and loud | |
| Tetradic | #DF892C | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#df2cdc text on a black background
contrast 5.53:1
#df2cdc text on a white background
contrast 3.80:1
CSS3 live lab
The quick brown fox
color: #df2cdc;
background-color: #df2cdc;
Glowing headline
text-shadow: 2px 2px 8px #df2cdc;
Soft neon halo
text-shadow: 0 0 14px rgba(223, 44, 220, 0.45);
box-shadow: 0 12px 32px -8px rgba(223, 44, 220, 0.45);
border: 3px solid #df2cdc; background: linear-gradient(135deg, #df2cdc, #DF2C65);
Monochromatic scale
Palettes built from #df2cdc
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 6 away, with its history, psychology and brand usage.
#df2cdc in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#df2cdc, answered
What color is #df2cdc?
#df2cdc is a balanced vivid magenta / pink, closest to Magenta (ΔE2000 6). It sits at 301° on the hue wheel with 74% saturation and 52% lightness, which reads as neutral.
What is the RGB value of #df2cdc?
rgb(223, 44, 220) — 223 red, 44 green and 220 blue out of 255, or 87.5% / 17.3% / 86.3% by channel.
Is #df2cdc a light or a dark color?
It is a mid-tone. Relative luminance is 0.2266 and perceived brightness is 58%, so black text on it reaches 5.53:1.
Should I use black or white text on #df2cdc?
Black. It scores 5.53:1 against #df2cdc, versus 3.80:1 for white — AA at any size.
What is the complementary color of #df2cdc?
#2CDF2F sits directly opposite on the wheel. Softer options are the split-complements #83DF2C and #2CDF89, which give the same contrast with far less vibration.
What colors go well with #df2cdc?
For interface work: #FAF4FA as the surface, #EDC0EC for borders, #9B4B9A for secondary text, #3CB517 as an accent and #6F116D for hover and pressed states. For a palette, the analogous pair #892CDF and #DF2C83 stays calm, while #2CDF2F is the loudest partner.
What is #df2cdc in CMYK for printing?
cmyk(0%, 80%, 1%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #df2cdc warm or cool?
Neutral — it scores 49 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF2C9A; nudged cooler, #A12AE2.