#fe4cf0
a balanced, electric magenta / pink · neutral · closest name: Magenta
At a glance
Every number on this page in one read: what #fe4cf0 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 | #fe4cf0 |
| RGB | rgb(254, 76, 240) |
| HSL | hsl(305, 99%, 65%) |
| CMYK | cmyk(0%, 70%, 6%, 0%) |
| LAB | lab(63.8 83.1 -47.0) |
| LCH | lch(63.8 95.5 330.5) |
| OKLCH | oklch(0.723 0.270 331.4) |
| Decimal | 16665840 |
| Display P3 | color(display-p3 0.996 0.298 0.941) |
Copy-ready code
/* CSS */
color: #fe4cf0;
background-color: #fe4cf0;
/* Tailwind (arbitrary) */
class="text-[#fe4cf0] bg-[#fe4cf0]"
/* SCSS */
$brand: #fe4cf0;
/* SwiftUI */
Color(red: 0.996, green: 0.298, blue: 0.941)
/* Android */
Color.parseColor("#fe4cf0")
/* Flutter */
Color(0xFFFE4CF0)
/* Python / OpenCV (BGR) */
(240, 76, 254)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. #fe4cf0 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FEF1FD;
--brand-100: #FCE3FA;
--brand-200: #FBC0F7;
--brand-300: #FE8FF6;
--brand-400: #fe4cf0;
--brand-500: #FE20EC;
--brand-600: #F301E0;
--brand-700: #CB01BB;
--brand-800: #A20196;
--brand-900: #75066C;
--brand-950: #490344;
--brand: #fe4cf0;
--brand-ink: #000000;
}Colors that work with #fe4cf0
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 #fe4cf0
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠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 | #4CFE5A | Directly opposite — maximum tension | |
| Analogous left | #B34CFE | Neighbour, quieter | |
| Analogous right | #FE4C97 | Neighbour, quieter | |
| Split-complement 1 | #97FE4C | Contrast without the clash | |
| Split-complement 2 | #4CFEB3 | Contrast without the clash | |
| Triadic 1 | #F0FE4C | Even thirds — balanced and loud | |
| Triadic 2 | #4CF0FE | Even thirds — balanced and loud | |
| Tetradic | #FEB34C | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#fe4cf0 text on a black background
contrast 7.51:1
#fe4cf0 text on a white background
contrast 2.80:1
CSS3 live lab
The quick brown fox
color: #fe4cf0;
background-color: #fe4cf0;
Glowing headline
text-shadow: 2px 2px 8px #fe4cf0;
Soft neon halo
text-shadow: 0 0 14px rgba(254, 76, 240, 0.45);
box-shadow: 0 12px 32px -8px rgba(254, 76, 240, 0.45);
border: 3px solid #fe4cf0; background: linear-gradient(135deg, #fe4cf0, #FE4C79);
Monochromatic scale
Palettes built from #fe4cf0
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 4.8 away, with its history, psychology and brand usage.
#fe4cf0 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.
#fe4cf0, answered
What color is #fe4cf0?
#fe4cf0 is a balanced electric magenta / pink, closest to Magenta (ΔE2000 4.8). It sits at 305° on the hue wheel with 99% saturation and 65% lightness, which reads as neutral.
What is the RGB value of #fe4cf0?
rgb(254, 76, 240) — 254 red, 76 green and 240 blue out of 255, or 99.6% / 29.8% / 94.1% by channel.
Is #fe4cf0 a light or a dark color?
It is a mid-tone. Relative luminance is 0.3253 and perceived brightness is 67%, so black text on it reaches 7.51:1.
Should I use black or white text on #fe4cf0?
Black. It scores 7.51:1 against #fe4cf0, versus 2.80:1 for white — AAA at any size.
What is the complementary color of #fe4cf0?
#4CFE5A sits directly opposite on the wheel. Softer options are the split-complements #97FE4C and #4CFEB3, which give the same contrast with far less vibration.
What colors go well with #fe4cf0?
For interface work: #FAF4FA as the surface, #EDC0E9 for borders, #9B4B95 for secondary text, #23CC00 as an accent and #7F0175 for hover and pressed states. For a palette, the analogous pair #B34CFE and #FE4C97 stays calm, while #4CFE5A is the loudest partner.
What is #fe4cf0 in CMYK for printing?
cmyk(0%, 70%, 6%, 0%). 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 #fe4cf0 warm or cool?
Neutral — it scores 47 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FE4CAF; nudged cooler, #CB4BFF.