Skip to content

#f9dcef

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

RGB
249, 220, 239
HSL
321°, 71%, 92%
CMYK
0, 12, 4, 2
Luminance
0.7756

At a glance

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

Hex
#f9dcef
Hue
321°
magenta / pink
Saturation
71%
vivid
Lightness
92%
pale
Brightness
98%
HSV value
Perceived
91%
weighted brightness
Luminance
0.7756
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
16.51:1
Closest name
Thistle
ΔE2000 7.3
Where it sits
Hue321° of 360°
Saturation71%
Lightness92%
Temperature
Warm ← → Cool38% 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#f9dcef
RGBrgb(249, 220, 239)
HSLhsl(321, 71%, 92%)
CMYKcmyk(0%, 12%, 4%, 2%)
LABlab(90.6 13.2 -5.6)
LCHlch(90.6 14.3 337.0)
OKLCHoklch(0.924 0.040 338.6)
Decimal16375023
Display P3color(display-p3 0.976 0.863 0.937)

Copy-ready code

/* CSS */
color: #f9dcef;
background-color: #f9dcef;
/* Tailwind (arbitrary) */
class="text-[#f9dcef] bg-[#f9dcef]"
/* SCSS */
$brand: #f9dcef;
/* SwiftUI */
Color(red: 0.976, green: 0.863, blue: 0.937)
/* Android */
Color.parseColor("#f9dcef")
/* Flutter */
Color(0xFFF9DCEF)
/* Python / OpenCV (BGR) */
(239, 220, 249)

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

Accessibility — WCAG contrast

Aa
#f9dcef on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#f9dcef on black: 16.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DDE2F0
deuteranopia · #E3E6EE
tritanopia · #FDDCE2

Color scale — 50 to 950

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

#FCF3F9
#f9dcef
#F2C9E4
#EF9FD3
#E66FBD
#DE3FA7
#D12495
#AE1E7C
#8B1863
#65154A
#3F0D2E
Base = 100Lightest = 50 · #FCF3F9Darkest = 950 · #3F0D2E
:root {
  --brand-50: #FCF3F9;
  --brand-100: #f9dcef;
  --brand-200: #F2C9E4;
  --brand-300: #EF9FD3;
  --brand-400: #E66FBD;
  --brand-500: #DE3FA7;
  --brand-600: #D12495;
  --brand-700: #AE1E7C;
  --brand-800: #8B1863;
  --brand-900: #65154A;
  --brand-950: #3F0D2E;
  --brand: #f9dcef;
  --brand-ink: #000000;
}

Colors that work with #f9dcef

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#FAF4F8
Tinted page background
Border#EDC0DD
Hairlines and dividers
Muted text#9B4B7F
Captions on the surface
Accent#19B328
Second voice, not a rival
Dark variant#6D134E
Hover, pressed, headers
Light variant#FBE9F5
Selected rows, tints
Dark surface#24141F
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 #f9dcef

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#DCF9E6
Analogous left#F5DCF9
Analogous right#F9DCE1
Split-complement 1#E1F9DC
Split-complement 2#DCF9F5
Triadic 1#EFF9DC
Triadic 2#DCEFF9
Tetradic#F9F5DC

RGB percentages

Red97.6%
Green86.3%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta11.6%
Yellow4.0%
Key (black)2.4%

Color previews

#f9dcef text on a black background

contrast 16.51:1

Card sample

#f9dcef text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(249, 220, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(249, 220, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f9dcef;
background: linear-gradient(135deg, #f9dcef, #F9DDDC);

Monochromatic scale

Palettes built from #f9dcef

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.

#f9dcef 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

Very light tints can drop out on uncoated stock; check it at 100% size before signing off.

#f9dcef, answered

What color is #f9dcef?

#f9dcef is a pale vivid magenta / pink, closest to Thistle (ΔE2000 7.3). It sits at 321° on the hue wheel with 71% saturation and 92% lightness, which reads as warm.

What is the RGB value of #f9dcef?

rgb(249, 220, 239) — 249 red, 220 green and 239 blue out of 255, or 97.6% / 86.3% / 93.7% by channel.

Is #f9dcef a light or a dark color?

It is a light color. Relative luminance is 0.7756 and perceived brightness is 91%, so black text on it reaches 16.51:1.

Should I use black or white text on #f9dcef?

Black. It scores 16.51:1 against #f9dcef, versus 1.27:1 for white — AAA at any size.

What is the complementary color of #f9dcef?

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

What colors go well with #f9dcef?

For interface work: #FAF4F8 as the surface, #EDC0DD for borders, #9B4B7F for secondary text, #19B328 as an accent and #6D134E for hover and pressed states. For a palette, the analogous pair #F5DCF9 and #F9DCE1 stays calm, while #DCF9E6 is the loudest partner.

What is #f9dcef in CMYK for printing?

cmyk(0%, 12%, 4%, 2%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #f9dcef warm or cool?

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

Work with #f9dcef in the Color Lab