Skip to content

#f2d7eb

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

RGB
242, 215, 235
HSL
316°, 51%, 90%
CMYK
0, 11, 3, 5
Luminance
0.7348

At a glance

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

Hex
#f2d7eb
Hue
316°
magenta / pink
Saturation
51%
vivid
Lightness
90%
pale
Brightness
95%
HSV value
Perceived
89%
weighted brightness
Luminance
0.7348
WCAG relative
Temperature
Warm
41/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
15.70:1
Closest name
Thistle
ΔE2000 6
Where it sits
Hue316° of 360°
Saturation51%
Lightness90%
Temperature
Warm ← → Cool41% 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#f2d7eb
RGBrgb(242, 215, 235)
HSLhsl(316, 51%, 90%)
CMYKcmyk(0%, 11%, 3%, 5%)
LABlab(88.7 12.7 -6.4)
LCHlch(88.7 14.2 333.4)
OKLCHoklch(0.907 0.040 335.0)
Decimal15914987
Display P3color(display-p3 0.949 0.843 0.922)

Copy-ready code

/* CSS */
color: #f2d7eb;
background-color: #f2d7eb;
/* Tailwind (arbitrary) */
class="text-[#f2d7eb] bg-[#f2d7eb]"
/* SCSS */
$brand: #f2d7eb;
/* SwiftUI */
Color(red: 0.949, green: 0.843, blue: 0.922)
/* Android */
Color.parseColor("#f2d7eb")
/* Flutter */
Color(0xFFF2D7EB)
/* Python / OpenCV (BGR) */
(235, 215, 242)

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

Accessibility — WCAG contrast

Aa
#f2d7eb on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#f2d7eb on black: 15.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D7DCEC
deuteranopia · #DDE0EA
tritanopia · #F5D8DD

Color scale — 50 to 950

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

#FAF4F9
#F6EAF3
#f2d7eb
#E3AAD5
#D680BF
#C856AA
#B93C98
#9A327F
#7B2866
#5A214B
#38142F
Base = 200Lightest = 50 · #FAF4F9Darkest = 950 · #38142F
:root {
  --brand-50: #FAF4F9;
  --brand-100: #F6EAF3;
  --brand-200: #f2d7eb;
  --brand-300: #E3AAD5;
  --brand-400: #D680BF;
  --brand-500: #C856AA;
  --brand-600: #B93C98;
  --brand-700: #9A327F;
  --brand-800: #7B2866;
  --brand-900: #5A214B;
  --brand-950: #38142F;
  --brand: #f2d7eb;
  --brand-ink: #000000;
}

Colors that work with #f2d7eb

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#EBC1E0
Hairlines and dividers
Muted text#9B4B86
Captions on the surface
Accent#2E9E2E
Second voice, not a rival
Dark variant#601F4F
Hover, pressed, headers
Light variant#F9ECF5
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 #f2d7eb

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#D7F2DE
Analogous left#EBD7F2
Analogous right#F2D7DD
Split-complement 1#DDF2D7
Split-complement 2#D7F2EB
Triadic 1#EBF2D7
Triadic 2#D7EBF2
Tetradic#F2EBD7

RGB percentages

Red94.9%
Green84.3%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta11.2%
Yellow2.9%
Key (black)5.1%

Color previews

#f2d7eb text on a black background

contrast 15.70:1

Card sample

#f2d7eb text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2d7eb

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.

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

#f2d7eb, answered

What color is #f2d7eb?

#f2d7eb is a pale vivid magenta / pink, closest to Thistle (ΔE2000 6). It sits at 316° on the hue wheel with 51% saturation and 90% lightness, which reads as warm.

What is the RGB value of #f2d7eb?

rgb(242, 215, 235) — 242 red, 215 green and 235 blue out of 255, or 94.9% / 84.3% / 92.2% by channel.

Is #f2d7eb a light or a dark color?

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

Should I use black or white text on #f2d7eb?

Black. It scores 15.70:1 against #f2d7eb, versus 1.34:1 for white — AAA at any size.

What is the complementary color of #f2d7eb?

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

What colors go well with #f2d7eb?

For interface work: #FAF4F9 as the surface, #EBC1E0 for borders, #9B4B86 for secondary text, #2E9E2E as an accent and #601F4F for hover and pressed states. For a palette, the analogous pair #EBD7F2 and #F2D7DD stays calm, while #D7F2DE is the loudest partner.

What is #f2d7eb in CMYK for printing?

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

Is #f2d7eb warm or cool?

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

Work with #f2d7eb in the Color Lab