Skip to content

#fed4f2

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

RGB
254, 212, 242
HSL
317°, 96%, 91%
CMYK
0, 17, 5, 0
Luminance
0.7457

At a glance

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

Hex
#fed4f2
Hue
317°
magenta / pink
Saturation
96%
electric
Lightness
91%
pale
Brightness
100%
HSV value
Perceived
90%
weighted brightness
Luminance
0.7457
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
15.91:1
Closest name
Thistle
ΔE2000 7.4
Where it sits
Hue317° of 360°
Saturation96%
Lightness91%
Temperature
Warm ← → Cool40% 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#fed4f2
RGBrgb(254, 212, 242)
HSLhsl(317, 96%, 91%)
CMYKcmyk(0%, 17%, 5%, 0%)
LABlab(89.2 19.5 -9.2)
LCHlch(89.2 21.6 334.9)
OKLCHoklch(0.914 0.061 336.5)
Decimal16700658
Display P3color(display-p3 0.996 0.831 0.949)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fed4f2 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#fed4f2 on black: 15.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D5DCF3
deuteranopia · #DEE2F1
tritanopia · #FFD5DE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #fed4f2 is pinned to step 100; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDF1FA
#fed4f2
#FAC2EA
#FC91DE
#FB5ACD
#FA24BD
#EF06AD
#C70590
#A00473
#730754
#480535
Base = 100Lightest = 50 · #FDF1FADarkest = 950 · #480535
:root {
  --brand-50: #FDF1FA;
  --brand-100: #fed4f2;
  --brand-200: #FAC2EA;
  --brand-300: #FC91DE;
  --brand-400: #FB5ACD;
  --brand-500: #FA24BD;
  --brand-600: #EF06AD;
  --brand-700: #C70590;
  --brand-800: #A00473;
  --brand-900: #730754;
  --brand-950: #480535;
  --brand: #fed4f2;
  --brand-ink: #000000;
}

Colors that work with #fed4f2

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#FAF4F9
Tinted page background
Border#EDC0E0
Hairlines and dividers
Muted text#9B4B84
Captions on the surface
Accent#00CC09
Second voice, not a rival
Dark variant#7D035A
Hover, pressed, headers
Light variant#FEE6F7
Selected rows, tints
Dark surface#241420
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 #fed4f2

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#D4FEE0
Analogous left#F5D4FE
Analogous right#FED4DD
Split-complement 1#DDFED4
Split-complement 2#D4FEF5
Triadic 1#F2FED4
Triadic 2#D4F2FE
Tetradic#FEF5D4

RGB percentages

Red99.6%
Green83.1%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta16.5%
Yellow4.7%
Key (black)0.4%

Color previews

#fed4f2 text on a black background

contrast 15.91:1

Card sample

#fed4f2 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fed4f2

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.

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

#fed4f2, answered

What color is #fed4f2?

#fed4f2 is a pale electric magenta / pink, closest to Thistle (ΔE2000 7.4). It sits at 317° on the hue wheel with 96% saturation and 91% lightness, which reads as warm.

What is the RGB value of #fed4f2?

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

Is #fed4f2 a light or a dark color?

It is a light color. Relative luminance is 0.7457 and perceived brightness is 90%, so black text on it reaches 15.91:1.

Should I use black or white text on #fed4f2?

Black. It scores 15.91:1 against #fed4f2, versus 1.32:1 for white — AAA at any size.

What is the complementary color of #fed4f2?

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

What colors go well with #fed4f2?

For interface work: #FAF4F9 as the surface, #EDC0E0 for borders, #9B4B84 for secondary text, #00CC09 as an accent and #7D035A for hover and pressed states. For a palette, the analogous pair #F5D4FE and #FED4DD stays calm, while #D4FEE0 is the loudest partner.

What is #fed4f2 in CMYK for printing?

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

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

Work with #fed4f2 in the Color Lab