#da2fec
a balanced, electric magenta / pink · neutral · closest name: Magenta
At a glance
Every number on this page in one read: what #da2fec 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 | #da2fec |
| RGB | rgb(218, 47, 236) |
| HSL | hsl(294, 83%, 56%) |
| CMYK | cmyk(8%, 80%, 0%, 8%) |
| LAB | lab(55.1 83.6 -59.0) |
| LCH | lch(55.1 102.3 324.8) |
| OKLCH | oklch(0.650 0.278 323.7) |
| Decimal | 14299116 |
| Display P3 | color(display-p3 0.855 0.184 0.925) |
Copy-ready code
/* CSS */
color: #da2fec;
background-color: #da2fec;
/* Tailwind (arbitrary) */
class="text-[#da2fec] bg-[#da2fec]"
/* SCSS */
$brand: #da2fec;
/* SwiftUI */
Color(red: 0.855, green: 0.184, blue: 0.925)
/* Android */
Color.parseColor("#da2fec")
/* Flutter */
Color(0xFFDA2FEC)
/* Python / OpenCV (BGR) */
(236, 47, 218)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. #da2fec 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: #FBF2FC;
--brand-100: #F8E6FA;
--brand-200: #F2C6F6;
--brand-300: #ED98F6;
--brand-400: #E465F1;
--brand-500: #da2fec;
--brand-600: #CD14E0;
--brand-700: #AB11BB;
--brand-800: #890E96;
--brand-900: #630E6C;
--brand-950: #3E0944;
--brand: #da2fec;
--brand-ink: #000000;
}Colors that work with #da2fec
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 #da2fec
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 | #41EC2F | Directly opposite — maximum tension | |
| Analogous left | #7C2FEC | Neighbour, quieter | |
| Analogous right | #EC2F9F | Neighbour, quieter | |
| Split-complement 1 | #9FEC2F | Contrast without the clash | |
| Split-complement 2 | #2FEC7C | Contrast without the clash | |
| Triadic 1 | #ECDA2F | Even thirds — balanced and loud | |
| Triadic 2 | #2FECDA | Even thirds — balanced and loud | |
| Tetradic | #EC7C2F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#da2fec text on a black background
contrast 5.60:1
#da2fec text on a white background
contrast 3.75:1
CSS3 live lab
The quick brown fox
color: #da2fec;
background-color: #da2fec;
Glowing headline
text-shadow: 2px 2px 8px #da2fec;
Soft neon halo
text-shadow: 0 0 14px rgba(218, 47, 236, 0.45);
box-shadow: 0 12px 32px -8px rgba(218, 47, 236, 0.45);
border: 3px solid #da2fec; background: linear-gradient(135deg, #da2fec, #EC2F80);
Monochromatic scale
Palettes built from #da2fec
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.7 away, with its history, psychology and brand usage.
#da2fec 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.
#da2fec, answered
What color is #da2fec?
#da2fec is a balanced electric magenta / pink, closest to Magenta (ΔE2000 5.7). It sits at 294° on the hue wheel with 83% saturation and 56% lightness, which reads as neutral.
What is the RGB value of #da2fec?
rgb(218, 47, 236) — 218 red, 47 green and 236 blue out of 255, or 85.5% / 18.4% / 92.5% by channel.
Is #da2fec a light or a dark color?
It is a mid-tone. Relative luminance is 0.2299 and perceived brightness is 58%, so black text on it reaches 5.60:1.
Should I use black or white text on #da2fec?
Black. It scores 5.60:1 against #da2fec, versus 3.75:1 for white — AA at any size.
What is the complementary color of #da2fec?
#41EC2F sits directly opposite on the wheel. Softer options are the split-complements #9FEC2F and #2FEC7C, which give the same contrast with far less vibration.
What colors go well with #da2fec?
For interface work: #FAF4FA as the surface, #E8C0ED for borders, #934B9B for secondary text, #4BBF0D as an accent and #6B0B75 for hover and pressed states. For a palette, the analogous pair #7C2FEC and #EC2F9F stays calm, while #41EC2F is the loudest partner.
What is #da2fec in CMYK for printing?
cmyk(8%, 80%, 0%, 8%). 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 #da2fec warm or cool?
Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EC2FB9; nudged cooler, #952DEE.