#fec2dc
a pale, electric magenta / pink · warm · closest name: Pink
At a glance
Every number on this page in one read: what #fec2dc is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #fec2dc |
| RGB | rgb(254, 194, 220) |
| HSL | hsl(334, 97%, 88%) |
| CMYK | cmyk(0%, 24%, 13%, 0%) |
| LAB | lab(84.4 25.3 -4.6) |
| LCH | lch(84.4 25.8 349.7) |
| OKLCH | oklch(0.875 0.076 351.0) |
| Decimal | 16696028 |
| Display P3 | color(display-p3 0.996 0.761 0.863) |
Copy-ready code
/* CSS */
color: #fec2dc;
background-color: #fec2dc;
/* Tailwind (arbitrary) */
class="text-[#fec2dc] bg-[#fec2dc]"
/* SCSS */
$brand: #fec2dc;
/* SwiftUI */
Color(red: 0.996, green: 0.761, blue: 0.863)
/* Android */
Color.parseColor("#fec2dc")
/* Flutter */
Color(0xFFFEC2DC)
/* Python / OpenCV (BGR) */
(220, 194, 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. #fec2dc is pinned to step 200; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FDF1F7;
--brand-100: #FCE4EE;
--brand-200: #fec2dc;
--brand-300: #FD91C0;
--brand-400: #FC59A0;
--brand-500: #FB2280;
--brand-600: #F1046B;
--brand-700: #C90359;
--brand-800: #A10347;
--brand-900: #740736;
--brand-950: #480422;
--brand: #fec2dc;
--brand-ink: #000000;
}Colors that work with #fec2dc
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 #fec2dc
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
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠White text placed on it
- ⚠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 | #C2FEE4 | Directly opposite — maximum tension | |
| Analogous left | #FEC2FA | Neighbour, quieter | |
| Analogous right | #FEC6C2 | Neighbour, quieter | |
| Split-complement 1 | #C2FEC6 | Contrast without the clash | |
| Split-complement 2 | #C2FAFE | Contrast without the clash | |
| Triadic 1 | #DCFEC2 | Even thirds — balanced and loud | |
| Triadic 2 | #C2DCFE | Even thirds — balanced and loud | |
| Tetradic | #FAFEC2 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#fec2dc text on a black background
contrast 13.96:1
#fec2dc text on a white background
contrast 1.50:1
CSS3 live lab
The quick brown fox
color: #fec2dc;
background-color: #fec2dc;
Glowing headline
text-shadow: 2px 2px 8px #fec2dc;
Soft neon halo
text-shadow: 0 0 14px rgba(254, 194, 220, 0.45);
box-shadow: 0 12px 32px -8px rgba(254, 194, 220, 0.45);
border: 3px solid #fec2dc; background: linear-gradient(135deg, #fec2dc, #FED0C2);
Monochromatic scale
Palettes built from #fec2dc
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: Cotton Candy (#ffbcd9) — ΔE2000 1.7 away, with its history, psychology and brand usage.
#fec2dc 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.
#fec2dc, answered
What color is #fec2dc?
#fec2dc is a pale electric magenta / pink, closest to Pink (ΔE2000 5.1). It sits at 334° on the hue wheel with 97% saturation and 88% lightness, which reads as warm.
What is the RGB value of #fec2dc?
rgb(254, 194, 220) — 254 red, 194 green and 220 blue out of 255, or 99.6% / 76.1% / 86.3% by channel.
Is #fec2dc a light or a dark color?
It is a light color. Relative luminance is 0.6482 and perceived brightness is 85%, so black text on it reaches 13.96:1.
Should I use black or white text on #fec2dc?
Black. It scores 13.96:1 against #fec2dc, versus 1.50:1 for white — AAA at any size.
What is the complementary color of #fec2dc?
#C2FEE4 sits directly opposite on the wheel. Softer options are the split-complements #C2FEC6 and #C2FAFE, which give the same contrast with far less vibration.
What colors go well with #fec2dc?
For interface work: #FAF4F7 as the surface, #EDC0D3 for borders, #9B4B6D for secondary text, #00CC3F as an accent and #7D0238 for hover and pressed states. For a palette, the analogous pair #FEC2FA and #FEC6C2 stays calm, while #C2FEE4 is the loudest partner.
What is #fec2dc in CMYK for printing?
cmyk(0%, 24%, 13%, 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 #fec2dc warm or cool?
Warm — it scores 31 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FEC2C6; nudged cooler, #FFC1F2.