#df42c3
a balanced, vivid magenta / pink · neutral · closest name: Medium Orchid
At a glance
Every number on this page in one read: what #df42c3 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 | #df42c3 |
| RGB | rgb(223, 66, 195) |
| HSL | hsl(311, 71%, 57%) |
| CMYK | cmyk(0%, 70%, 13%, 13%) |
| LAB | lab(55.6 72.9 -34.8) |
| LCH | lch(55.6 80.7 334.5) |
| OKLCH | oklch(0.648 0.234 336.1) |
| Decimal | 14631619 |
| Display P3 | color(display-p3 0.875 0.259 0.765) |
Copy-ready code
/* CSS */
color: #df42c3;
background-color: #df42c3;
/* Tailwind (arbitrary) */
class="text-[#df42c3] bg-[#df42c3]"
/* SCSS */
$brand: #df42c3;
/* SwiftUI */
Color(red: 0.875, green: 0.259, blue: 0.765)
/* Android */
Color.parseColor("#df42c3")
/* Flutter */
Color(0xFFDF42C3)
/* Python / OpenCV (BGR) */
(195, 66, 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. #df42c3 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: #FCF3FA;
--brand-100: #F8E7F5;
--brand-200: #F3C9EB;
--brand-300: #EF9FE1;
--brand-400: #E76FD1;
--brand-500: #df42c3;
--brand-600: #D123B2;
--brand-700: #AE1E95;
--brand-800: #8C1877;
--brand-900: #651557;
--brand-950: #3F0D36;
--brand: #df42c3;
--brand-ink: #000000;
}Colors that work with #df42c3
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 #df42c3
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 | #42DF5E | Directly opposite — maximum tension | |
| Analogous left | #AD42DF | Neighbour, quieter | |
| Analogous right | #DF4275 | Neighbour, quieter | |
| Split-complement 1 | #75DF42 | Contrast without the clash | |
| Split-complement 2 | #42DFAD | Contrast without the clash | |
| Triadic 1 | #C3DF42 | Even thirds — balanced and loud | |
| Triadic 2 | #42C3DF | Even thirds — balanced and loud | |
| Tetradic | #DFAD42 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#df42c3 text on a black background
contrast 5.70:1
#df42c3 text on a white background
contrast 3.68:1
CSS3 live lab
The quick brown fox
color: #df42c3;
background-color: #df42c3;
Glowing headline
text-shadow: 2px 2px 8px #df42c3;
Soft neon halo
text-shadow: 0 0 14px rgba(223, 66, 195, 0.45);
box-shadow: 0 12px 32px -8px rgba(223, 66, 195, 0.45);
border: 3px solid #df42c3; background: linear-gradient(135deg, #df42c3, #DF425A);
Monochromatic scale
Palettes built from #df42c3
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: Orchid (#da70d6) — ΔE2000 8.1 away, with its history, psychology and brand usage.
#df42c3 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.
#df42c3, answered
What color is #df42c3?
#df42c3 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 7.7). It sits at 311° on the hue wheel with 71% saturation and 57% lightness, which reads as neutral.
What is the RGB value of #df42c3?
rgb(223, 66, 195) — 223 red, 66 green and 195 blue out of 255, or 87.5% / 25.9% / 76.5% by channel.
Is #df42c3 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2352 and perceived brightness is 58%, so black text on it reaches 5.70:1.
Should I use black or white text on #df42c3?
Black. It scores 5.70:1 against #df42c3, versus 3.68:1 for white — AA at any size.
What is the complementary color of #df42c3?
#42DF5E sits directly opposite on the wheel. Softer options are the split-complements #75DF42 and #42DFAD, which give the same contrast with far less vibration.
What colors go well with #df42c3?
For interface work: #FAF4F9 as the surface, #EDC0E5 for borders, #9B4B8D for secondary text, #25B21A as an accent and #6D125D for hover and pressed states. For a palette, the analogous pair #AD42DF and #DF4275 stays calm, while #42DF5E is the loudest partner.
What is #df42c3 in CMYK for printing?
cmyk(0%, 70%, 13%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #df42c3 warm or cool?
Neutral — it scores 44 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF428A; nudged cooler, #C340E1.