Skip to content

#fec4d7

a pale, electric magenta / pink · warm · closest name: Pink

RGB
254, 196, 215
HSL
340°, 97%, 88%
CMYK
0, 23, 15, 0
Luminance
0.6546

At a glance

Every number on this page in one read: what #fec4d7 is made of, how bright it looks, and which way it leans.

Hex
#fec4d7
Hue
340°
magenta / pink
Saturation
97%
electric
Lightness
88%
pale
Brightness
100%
HSV value
Perceived
85%
weighted brightness
Luminance
0.6546
WCAG relative
Temperature
Warm
28/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
14.09:1
Closest name
Pink
ΔE2000 3.2
Where it sits
Hue340° of 360°
Saturation97%
Lightness88%
Temperature
Warm ← → Cool28% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#fec4d7
RGBrgb(254, 196, 215)
HSLhsl(340, 97%, 88%)
CMYKcmyk(0%, 23%, 15%, 0%)
LABlab(84.7 23.5 -1.4)
LCHlch(84.7 23.5 356.5)
OKLCHoklch(0.877 0.070 357.1)
Decimal16696535
Display P3color(display-p3 0.996 0.769 0.843)

Copy-ready code

/* CSS */
color: #fec4d7;
background-color: #fec4d7;
/* Tailwind (arbitrary) */
class="text-[#fec4d7] bg-[#fec4d7]"
/* SCSS */
$brand: #fec4d7;
/* SwiftUI */
Color(red: 0.996, green: 0.769, blue: 0.843)
/* Android */
Color.parseColor("#fec4d7")
/* Flutter */
Color(0xFFFEC4D7)
/* Python / OpenCV (BGR) */
(215, 196, 254)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #fec4d7 · 14.09:1
Use #000000AAA at every size.
Aa
White text · 1.49:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.09:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #fec4d7 as text scores 1.49:1 on white and 14.09:1 on black.

Accessibility — WCAG contrast

Aa
#fec4d7 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#fec4d7 on black: 14.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CACED8
deuteranopia · #D8D7D6
tritanopia · #FFC2CA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #fec4d7 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.

#FDF1F5
#FCE4EC
#fec4d7
#FD91B4
#FC598F
#FB226A
#F10452
#C90344
#A10337
#74072B
#48041B
Base = 200Lightest = 50 · #FDF1F5Darkest = 950 · #48041B
:root {
  --brand-50: #FDF1F5;
  --brand-100: #FCE4EC;
  --brand-200: #fec4d7;
  --brand-300: #FD91B4;
  --brand-400: #FC598F;
  --brand-500: #FB226A;
  --brand-600: #F10452;
  --brand-700: #C90344;
  --brand-800: #A10337;
  --brand-900: #74072B;
  --brand-950: #48041B;
  --brand: #fec4d7;
  --brand-ink: #000000;
}

Colors that work with #fec4d7

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4F6
Tinted page background
Border#EDC0CE
Hairlines and dividers
Muted text#9B4B65
Captions on the surface
Accent#00CC55
Second voice, not a rival
Dark variant#7D022B
Hover, pressed, headers
Light variant#FFE6EE
Selected rows, tints
Dark surface#241419
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #fec4d7

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • 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
Use with care
  • 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#C4FEEB
Analogous left#FEC4F4
Analogous right#FECEC4
Split-complement 1#C4FECE
Split-complement 2#C4F4FE
Triadic 1#D7FEC4
Triadic 2#C4D7FE
Tetradic#F4FEC4

RGB percentages

Red99.6%
Green76.9%
Blue84.3%

CMYK percentages

Cyan0.0%
Magenta22.8%
Yellow15.4%
Key (black)0.4%

Color previews

#fec4d7 text on a black background

contrast 14.09:1

Card sample

#fec4d7 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #fec4d7;
Background color
Panel with #fec4d7 background
background-color: #fec4d7;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #fec4d7;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(254, 196, 215, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(254, 196, 215, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fec4d7;
background: linear-gradient(135deg, #fec4d7, #FED8C4);

Monochromatic scale

Palettes built from #fec4d7

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.

#fec4d7 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#fec4d7, answered

What color is #fec4d7?

#fec4d7 is a pale electric magenta / pink, closest to Pink (ΔE2000 3.2). It sits at 340° on the hue wheel with 97% saturation and 88% lightness, which reads as warm.

What is the RGB value of #fec4d7?

rgb(254, 196, 215) — 254 red, 196 green and 215 blue out of 255, or 99.6% / 76.9% / 84.3% by channel.

Is #fec4d7 a light or a dark color?

It is a light color. Relative luminance is 0.6546 and perceived brightness is 85%, so black text on it reaches 14.09:1.

Should I use black or white text on #fec4d7?

Black. It scores 14.09:1 against #fec4d7, versus 1.49:1 for white — AAA at any size.

What is the complementary color of #fec4d7?

#C4FEEB sits directly opposite on the wheel. Softer options are the split-complements #C4FECE and #C4F4FE, which give the same contrast with far less vibration.

What colors go well with #fec4d7?

For interface work: #FAF4F6 as the surface, #EDC0CE for borders, #9B4B65 for secondary text, #00CC55 as an accent and #7D022B for hover and pressed states. For a palette, the analogous pair #FEC4F4 and #FECEC4 stays calm, while #C4FEEB is the loudest partner.

What is #fec4d7 in CMYK for printing?

cmyk(0%, 23%, 15%, 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 #fec4d7 warm or cool?

Warm — it scores 28 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FEC6C4; nudged cooler, #FFC3EC.

Work with #fec4d7 in the Color Lab