Skip to content

#fec5df

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

RGB
254, 197, 223
HSL
333°, 97%, 88%
CMYK
0, 22, 12, 0
Luminance
0.6633

At a glance

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

Hex
#fec5df
Hue
333°
magenta / pink
Saturation
97%
electric
Lightness
88%
pale
Brightness
100%
HSV value
Perceived
86%
weighted brightness
Luminance
0.6633
WCAG relative
Temperature
Warm
32/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
14.27:1
Closest name
Pink
ΔE2000 5.4
Where it sits
Hue333° of 360°
Saturation97%
Lightness88%
Temperature
Warm ← → Cool32% 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#fec5df
RGBrgb(254, 197, 223)
HSLhsl(333, 97%, 88%)
CMYKcmyk(0%, 22%, 12%, 0%)
LABlab(85.2 24.2 -5.1)
LCHlch(85.2 24.8 348.2)
OKLCHoklch(0.881 0.073 349.6)
Decimal16696799
Display P3color(display-p3 0.996 0.773 0.875)

Copy-ready code

/* CSS */
color: #fec5df;
background-color: #fec5df;
/* Tailwind (arbitrary) */
class="text-[#fec5df] bg-[#fec5df]"
/* SCSS */
$brand: #fec5df;
/* SwiftUI */
Color(red: 0.996, green: 0.773, blue: 0.875)
/* Android */
Color.parseColor("#fec5df")
/* Flutter */
Color(0xFFFEC5DF)
/* Python / OpenCV (BGR) */
(223, 197, 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 #fec5df · 14.27:1
Use #000000AAA at every size.
Aa
White text · 1.47:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.27:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #fec5df as text scores 1.47:1 on white and 14.27:1 on black.

Accessibility — WCAG contrast

Aa
#fec5df on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#fec5df on black: 14.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CACFE0
deuteranopia · #D7D8DE
tritanopia · #FFC4CE

Color scale — 50 to 950

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

#FDF1F7
#FCE4EF
#fec5df
#FD91C2
#FC5AA4
#FB2285
#F10470
#C9035D
#A0034B
#740738
#480423
Base = 200Lightest = 50 · #FDF1F7Darkest = 950 · #480423
:root {
  --brand-50: #FDF1F7;
  --brand-100: #FCE4EF;
  --brand-200: #fec5df;
  --brand-300: #FD91C2;
  --brand-400: #FC5AA4;
  --brand-500: #FB2285;
  --brand-600: #F10470;
  --brand-700: #C9035D;
  --brand-800: #A0034B;
  --brand-900: #740738;
  --brand-950: #480423;
  --brand: #fec5df;
  --brand-ink: #000000;
}

Colors that work with #fec5df

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#FAF4F7
Tinted page background
Border#EDC0D4
Hairlines and dividers
Muted text#9B4B6F
Captions on the surface
Accent#00CC3B
Second voice, not a rival
Dark variant#7D023A
Hover, pressed, headers
Light variant#FFE6F1
Selected rows, tints
Dark surface#24141B
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 #fec5df

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#C5FEE4
Analogous left#FEC5FC
Analogous right#FEC7C5
Split-complement 1#C5FEC7
Split-complement 2#C5FCFE
Triadic 1#DFFEC5
Triadic 2#C5DFFE
Tetradic#FCFEC5

RGB percentages

Red99.6%
Green77.3%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta22.4%
Yellow12.2%
Key (black)0.4%

Color previews

#fec5df text on a black background

contrast 14.27:1

Card sample

#fec5df text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fec5df

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.

#fec5df 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.

#fec5df, answered

What color is #fec5df?

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

What is the RGB value of #fec5df?

rgb(254, 197, 223) — 254 red, 197 green and 223 blue out of 255, or 99.6% / 77.3% / 87.5% by channel.

Is #fec5df a light or a dark color?

It is a light color. Relative luminance is 0.6633 and perceived brightness is 86%, so black text on it reaches 14.27:1.

Should I use black or white text on #fec5df?

Black. It scores 14.27:1 against #fec5df, versus 1.47:1 for white — AAA at any size.

What is the complementary color of #fec5df?

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

What colors go well with #fec5df?

For interface work: #FAF4F7 as the surface, #EDC0D4 for borders, #9B4B6F for secondary text, #00CC3B as an accent and #7D023A for hover and pressed states. For a palette, the analogous pair #FEC5FC and #FEC7C5 stays calm, while #C5FEE4 is the loudest partner.

What is #fec5df in CMYK for printing?

cmyk(0%, 22%, 12%, 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 #fec5df warm or cool?

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

Work with #fec5df in the Color Lab