Skip to content

#fec2d4

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

RGB
254, 194, 212
HSL
342°, 97%, 88%
CMYK
0, 24, 17, 0
Luminance
0.6441

At a glance

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

Hex
#fec2d4
Hue
342°
magenta / pink
Saturation
97%
electric
Lightness
88%
pale
Brightness
100%
HSV value
Perceived
85%
weighted brightness
Luminance
0.6441
WCAG relative
Temperature
Warm
27/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
13.88:1
Closest name
Pink
ΔE2000 2.6
Where it sits
Hue342° of 360°
Saturation97%
Lightness88%
Temperature
Warm ← → Cool27% 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#fec2d4
RGBrgb(254, 194, 212)
HSLhsl(342, 97%, 88%)
CMYKcmyk(0%, 24%, 17%, 0%)
LABlab(84.2 24.1 -0.6)
LCHlch(84.2 24.1 358.5)
OKLCHoklch(0.873 0.072 358.9)
Decimal16696020
Display P3color(display-p3 0.996 0.761 0.831)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fec2d4 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#fec2d4 on black: 13.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C9CCD5
deuteranopia · #D7D6D3
tritanopia · #FFBFC8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #fec2d4 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
#FCE4EB
#fec2d4
#FD91B1
#FC598A
#FB2263
#F1044B
#C9033F
#A10332
#740727
#480419
Base = 200Lightest = 50 · #FDF1F5Darkest = 950 · #480419
:root {
  --brand-50: #FDF1F5;
  --brand-100: #FCE4EB;
  --brand-200: #fec2d4;
  --brand-300: #FD91B1;
  --brand-400: #FC598A;
  --brand-500: #FB2263;
  --brand-600: #F1044B;
  --brand-700: #C9033F;
  --brand-800: #A10332;
  --brand-900: #740727;
  --brand-950: #480419;
  --brand: #fec2d4;
  --brand-ink: #000000;
}

Colors that work with #fec2d4

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#EDC0CD
Hairlines and dividers
Muted text#9B4B63
Captions on the surface
Accent#00CC5C
Second voice, not a rival
Dark variant#7D0227
Hover, pressed, headers
Light variant#FFE6ED
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 #fec2d4

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#C2FEEC
Analogous left#FEC2F2
Analogous right#FECEC2
Split-complement 1#C2FECE
Split-complement 2#C2F2FE
Triadic 1#D4FEC2
Triadic 2#C2D4FE
Tetradic#F2FEC2

RGB percentages

Red99.6%
Green76.1%
Blue83.1%

CMYK percentages

Cyan0.0%
Magenta23.6%
Yellow16.5%
Key (black)0.4%

Color previews

#fec2d4 text on a black background

contrast 13.88:1

Card sample

#fec2d4 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fec2d4

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.

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

#fec2d4, answered

What color is #fec2d4?

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

What is the RGB value of #fec2d4?

rgb(254, 194, 212) — 254 red, 194 green and 212 blue out of 255, or 99.6% / 76.1% / 83.1% by channel.

Is #fec2d4 a light or a dark color?

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

Should I use black or white text on #fec2d4?

Black. It scores 13.88:1 against #fec2d4, versus 1.51:1 for white — AAA at any size.

What is the complementary color of #fec2d4?

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

What colors go well with #fec2d4?

For interface work: #FAF4F6 as the surface, #EDC0CD for borders, #9B4B63 for secondary text, #00CC5C as an accent and #7D0227 for hover and pressed states. For a palette, the analogous pair #FEC2F2 and #FECEC2 stays calm, while #C2FEEC is the loudest partner.

What is #fec2d4 in CMYK for printing?

cmyk(0%, 24%, 17%, 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 #fec2d4 warm or cool?

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

Work with #fec2d4 in the Color Lab