Skip to content

#f7d2fe

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

RGB
247, 210, 254
HSL
291°, 96%, 91%
CMYK
3, 17, 0, 0
Luminance
0.7302

At a glance

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

Hex
#f7d2fe
Hue
291°
magenta / pink
Saturation
96%
electric
Lightness
91%
pale
Brightness
100%
HSV value
Perceived
89%
weighted brightness
Luminance
0.7302
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
15.60:1
Closest name
Thistle
ΔE2000 7.9
Where it sits
Hue291° of 360°
Saturation96%
Lightness91%
Temperature
Warm ← → Cool55% 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#f7d2fe
RGBrgb(247, 210, 254)
HSLhsl(291, 96%, 91%)
CMYKcmyk(3%, 17%, 0%, 0%)
LABlab(88.5 20.4 -16.6)
LCHlch(88.5 26.4 320.8)
OKLCHoklch(0.908 0.071 320.9)
Decimal16241406
Display P3color(display-p3 0.969 0.824 0.996)

Copy-ready code

/* CSS */
color: #f7d2fe;
background-color: #f7d2fe;
/* Tailwind (arbitrary) */
class="text-[#f7d2fe] bg-[#f7d2fe]"
/* SCSS */
$brand: #f7d2fe;
/* SwiftUI */
Color(red: 0.969, green: 0.824, blue: 0.996)
/* Android */
Color.parseColor("#f7d2fe")
/* Flutter */
Color(0xFFF7D2FE)
/* Python / OpenCV (BGR) */
(254, 210, 247)

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 #f7d2fe · 15.60:1
Use #000000AAA at every size.
Aa
White text · 1.35:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.60:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f7d2fe as text scores 1.35:1 on white and 15.60:1 on black.

Accessibility — WCAG contrast

Aa
#f7d2fe on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#f7d2fe on black: 15.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CEDBFF
deuteranopia · #D6DFFC
tritanopia · #F8D6E1

Color scale — 50 to 950

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

#FBF1FD
#f7d2fe
#F1C1FA
#EC91FD
#E25AFB
#D823FA
#CA05F0
#A904C8
#8704A0
#620773
#3D0548
Base = 100Lightest = 50 · #FBF1FDDarkest = 950 · #3D0548
:root {
  --brand-50: #FBF1FD;
  --brand-100: #f7d2fe;
  --brand-200: #F1C1FA;
  --brand-300: #EC91FD;
  --brand-400: #E25AFB;
  --brand-500: #D823FA;
  --brand-600: #CA05F0;
  --brand-700: #A904C8;
  --brand-800: #8704A0;
  --brand-900: #620773;
  --brand-950: #3D0548;
  --brand: #f7d2fe;
  --brand-ink: #000000;
}

Colors that work with #f7d2fe

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#F9F4FA
Tinted page background
Border#E6C0ED
Hairlines and dividers
Muted text#8E4B9B
Captions on the surface
Accent#54CC00
Second voice, not a rival
Dark variant#69037D
Hover, pressed, headers
Light variant#FBE6FE
Selected rows, tints
Dark surface#221424
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 #f7d2fe

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#D9FED2
Analogous left#E1D2FE
Analogous right#FED2EF
Split-complement 1#EFFED2
Split-complement 2#D2FEE1
Triadic 1#FEF7D2
Triadic 2#D2FEF7
Tetradic#FEE1D2

RGB percentages

Red96.9%
Green82.4%
Blue99.6%

CMYK percentages

Cyan2.8%
Magenta17.3%
Yellow0.0%
Key (black)0.4%

Color previews

#f7d2fe text on a black background

contrast 15.60:1

Card sample

#f7d2fe text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7d2fe

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.

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

#f7d2fe, answered

What color is #f7d2fe?

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

What is the RGB value of #f7d2fe?

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

Is #f7d2fe a light or a dark color?

It is a light color. Relative luminance is 0.7302 and perceived brightness is 89%, so black text on it reaches 15.60:1.

Should I use black or white text on #f7d2fe?

Black. It scores 15.60:1 against #f7d2fe, versus 1.35:1 for white — AAA at any size.

What is the complementary color of #f7d2fe?

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

What colors go well with #f7d2fe?

For interface work: #F9F4FA as the surface, #E6C0ED for borders, #8E4B9B for secondary text, #54CC00 as an accent and #69037D for hover and pressed states. For a palette, the analogous pair #E1D2FE and #FED2EF stays calm, while #D9FED2 is the loudest partner.

What is #f7d2fe in CMYK for printing?

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

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

Work with #f7d2fe in the Color Lab