Skip to content

#fed2f7

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

RGB
254, 210, 247
HSL
310°, 96%, 91%
CMYK
0, 17, 3, 0
Luminance
0.7388

At a glance

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

Hex
#fed2f7
Hue
310°
magenta / pink
Saturation
96%
electric
Lightness
91%
pale
Brightness
100%
HSV value
Perceived
90%
weighted brightness
Luminance
0.7388
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
15.78:1
Closest name
Thistle
ΔE2000 7.8
Where it sits
Hue310° of 360°
Saturation96%
Lightness91%
Temperature
Warm ← → Cool45% cool

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

Every format

HEX#fed2f7
RGBrgb(254, 210, 247)
HSLhsl(310, 96%, 91%)
CMYKcmyk(0%, 17%, 3%, 0%)
LABlab(88.9 21.5 -12.3)
LCHlch(88.9 24.7 330.2)
OKLCHoklch(0.912 0.069 331.5)
Decimal16700151
Display P3color(display-p3 0.996 0.824 0.969)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fed2f7 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#fed2f7 on black: 15.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D1DCF9
deuteranopia · #DBE1F5
tritanopia · #FFD4DE

Color scale — 50 to 950

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

#FDF1FB
#fed2f7
#FAC1F1
#FD91EC
#FB5AE2
#FA23D8
#F005CA
#C804A9
#A00487
#730762
#48053D
Base = 100Lightest = 50 · #FDF1FBDarkest = 950 · #48053D
:root {
  --brand-50: #FDF1FB;
  --brand-100: #fed2f7;
  --brand-200: #FAC1F1;
  --brand-300: #FD91EC;
  --brand-400: #FB5AE2;
  --brand-500: #FA23D8;
  --brand-600: #F005CA;
  --brand-700: #C804A9;
  --brand-800: #A00487;
  --brand-900: #730762;
  --brand-950: #48053D;
  --brand: #fed2f7;
  --brand-ink: #000000;
}

Colors that work with #fed2f7

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#EDC0E6
Hairlines and dividers
Muted text#9B4B8E
Captions on the surface
Accent#12CC00
Second voice, not a rival
Dark variant#7D0369
Hover, pressed, headers
Light variant#FEE6FB
Selected rows, tints
Dark surface#241422
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 #fed2f7

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#D2FED9
Analogous left#EFD2FE
Analogous right#FED2E1
Split-complement 1#E1FED2
Split-complement 2#D2FEEF
Triadic 1#F7FED2
Triadic 2#D2F7FE
Tetradic#FEEFD2

RGB percentages

Red99.6%
Green82.4%
Blue96.9%

CMYK percentages

Cyan0.0%
Magenta17.3%
Yellow2.8%
Key (black)0.4%

Color previews

#fed2f7 text on a black background

contrast 15.78:1

Card sample

#fed2f7 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fed2f7

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.

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

#fed2f7, answered

What color is #fed2f7?

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

What is the RGB value of #fed2f7?

rgb(254, 210, 247) — 254 red, 210 green and 247 blue out of 255, or 99.6% / 82.4% / 96.9% by channel.

Is #fed2f7 a light or a dark color?

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

Should I use black or white text on #fed2f7?

Black. It scores 15.78:1 against #fed2f7, versus 1.33:1 for white — AAA at any size.

What is the complementary color of #fed2f7?

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

What colors go well with #fed2f7?

For interface work: #FAF4F9 as the surface, #EDC0E6 for borders, #9B4B8E for secondary text, #12CC00 as an accent and #7D0369 for hover and pressed states. For a palette, the analogous pair #EFD2FE and #FED2E1 stays calm, while #D2FED9 is the loudest partner.

What is #fed2f7 in CMYK for printing?

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

Neutral — it scores 45 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FED2E7; nudged cooler, #F5D2FE.

Work with #fed2f7 in the Color Lab