Skip to content

#f2cef7

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

RGB
242, 206, 247
HSL
293°, 72%, 89%
CMYK
2, 17, 0, 3
Luminance
0.6974

At a glance

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

Hex
#f2cef7
Hue
293°
magenta / pink
Saturation
72%
vivid
Lightness
89%
pale
Brightness
97%
HSV value
Perceived
87%
weighted brightness
Luminance
0.6974
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
14.95:1
Closest name
Thistle
ΔE2000 6.7
Where it sits
Hue293° of 360°
Saturation72%
Lightness89%
Temperature
Warm ← → Cool54% 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#f2cef7
RGBrgb(242, 206, 247)
HSLhsl(293, 72%, 89%)
CMYKcmyk(2%, 17%, 0%, 3%)
LABlab(86.9 19.6 -15.4)
LCHlch(86.9 24.9 321.9)
OKLCHoklch(0.894 0.067 322.2)
Decimal15912695
Display P3color(display-p3 0.949 0.808 0.969)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2cef7 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#f2cef7 on black: 14.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CBD7F9
deuteranopia · #D2DBF5
tritanopia · #F4D2DC

Color scale — 50 to 950

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

#FBF3FC
#F6E7F8
#f2cef7
#E59FEF
#D96EE7
#CC3EDF
#BD22D2
#9D1DAF
#7E178C
#5C1566
#390D40
Base = 200Lightest = 50 · #FBF3FCDarkest = 950 · #390D40
:root {
  --brand-50: #FBF3FC;
  --brand-100: #F6E7F8;
  --brand-200: #f2cef7;
  --brand-300: #E59FEF;
  --brand-400: #D96EE7;
  --brand-500: #CC3EDF;
  --brand-600: #BD22D2;
  --brand-700: #9D1DAF;
  --brand-800: #7E178C;
  --brand-900: #5C1566;
  --brand-950: #390D40;
  --brand: #f2cef7;
  --brand-ink: #000000;
}

Colors that work with #f2cef7

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#FAF4FA
Tinted page background
Border#E7C0ED
Hairlines and dividers
Muted text#914B9B
Captions on the surface
Accent#52B319
Second voice, not a rival
Dark variant#62126E
Hover, pressed, headers
Light variant#F9E9FB
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 #f2cef7

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#D3F7CE
Analogous left#DDCEF7
Analogous right#F7CEE7
Split-complement 1#E7F7CE
Split-complement 2#CEF7DD
Triadic 1#F7F2CE
Triadic 2#CEF7F2
Tetradic#F7DDCE

RGB percentages

Red94.9%
Green80.8%
Blue96.9%

CMYK percentages

Cyan2.0%
Magenta16.6%
Yellow0.0%
Key (black)3.1%

Color previews

#f2cef7 text on a black background

contrast 14.95:1

Card sample

#f2cef7 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cef7

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.

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

#f2cef7, answered

What color is #f2cef7?

#f2cef7 is a pale vivid magenta / pink, closest to Thistle (ΔE2000 6.7). It sits at 293° on the hue wheel with 72% saturation and 89% lightness, which reads as neutral.

What is the RGB value of #f2cef7?

rgb(242, 206, 247) — 242 red, 206 green and 247 blue out of 255, or 94.9% / 80.8% / 96.9% by channel.

Is #f2cef7 a light or a dark color?

It is a light color. Relative luminance is 0.6974 and perceived brightness is 87%, so black text on it reaches 14.95:1.

Should I use black or white text on #f2cef7?

Black. It scores 14.95:1 against #f2cef7, versus 1.40:1 for white — AAA at any size.

What is the complementary color of #f2cef7?

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

What colors go well with #f2cef7?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #914B9B for secondary text, #52B319 as an accent and #62126E for hover and pressed states. For a palette, the analogous pair #DDCEF7 and #F7CEE7 stays calm, while #D3F7CE is the loudest partner.

What is #f2cef7 in CMYK for printing?

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

Is #f2cef7 warm or cool?

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

Work with #f2cef7 in the Color Lab