Skip to content

#fec6f7

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

RGB
254, 198, 247
HSL
308°, 97%, 89%
CMYK
0, 22, 3, 0
Luminance
0.6817

At a glance

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

Hex
#fec6f7
Hue
308°
magenta / pink
Saturation
97%
electric
Lightness
89%
pale
Brightness
100%
HSV value
Perceived
87%
weighted brightness
Luminance
0.6817
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
14.63:1
Closest name
Thistle
ΔE2000 9.3
Where it sits
Hue308° of 360°
Saturation97%
Lightness89%
Temperature
Warm ← → Cool46% 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#fec6f7
RGBrgb(254, 198, 247)
HSLhsl(308, 97%, 89%)
CMYKcmyk(0%, 22%, 3%, 0%)
LABlab(86.1 27.8 -16.4)
LCHlch(86.1 32.3 329.4)
OKLCHoklch(0.891 0.089 330.6)
Decimal16697079
Display P3color(display-p3 0.996 0.776 0.969)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fec6f7 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#fec6f7 on black: 14.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C4D3F9
deuteranopia · #D1DAF5
tritanopia · #FFC9D7

Color scale — 50 to 950

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

#FDF1FC
#FCE4F9
#fec6f7
#FD91F0
#FC5AE8
#FB22E0
#F104D3
#C903B0
#A0038D
#740766
#480440
Base = 200Lightest = 50 · #FDF1FCDarkest = 950 · #480440
:root {
  --brand-50: #FDF1FC;
  --brand-100: #FCE4F9;
  --brand-200: #fec6f7;
  --brand-300: #FD91F0;
  --brand-400: #FC5AE8;
  --brand-500: #FB22E0;
  --brand-600: #F104D3;
  --brand-700: #C903B0;
  --brand-800: #A0038D;
  --brand-900: #740766;
  --brand-950: #480440;
  --brand: #fec6f7;
  --brand-ink: #000000;
}

Colors that work with #fec6f7

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#EDC0E7
Hairlines and dividers
Muted text#9B4B91
Captions on the surface
Accent#18CC00
Second voice, not a rival
Dark variant#7D026E
Hover, pressed, headers
Light variant#FFE6FB
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 #fec6f7

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#C6FECD
Analogous left#E9C6FE
Analogous right#FEC6DB
Split-complement 1#DBFEC6
Split-complement 2#C6FEE9
Triadic 1#F7FEC6
Triadic 2#C6F7FE
Tetradic#FEE9C6

RGB percentages

Red99.6%
Green77.6%
Blue96.9%

CMYK percentages

Cyan0.0%
Magenta22.0%
Yellow2.8%
Key (black)0.4%

Color previews

#fec6f7 text on a black background

contrast 14.63:1

Card sample

#fec6f7 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fec6f7

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.

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

#fec6f7, answered

What color is #fec6f7?

#fec6f7 is a pale electric magenta / pink, closest to Thistle (ΔE2000 9.3). It sits at 308° on the hue wheel with 97% saturation and 89% lightness, which reads as neutral.

What is the RGB value of #fec6f7?

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

Is #fec6f7 a light or a dark color?

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

Should I use black or white text on #fec6f7?

Black. It scores 14.63:1 against #fec6f7, versus 1.43:1 for white — AAA at any size.

What is the complementary color of #fec6f7?

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

What colors go well with #fec6f7?

For interface work: #FAF4FA as the surface, #EDC0E7 for borders, #9B4B91 for secondary text, #18CC00 as an accent and #7D026E for hover and pressed states. For a palette, the analogous pair #E9C6FE and #FEC6DB stays calm, while #C6FECD is the loudest partner.

What is #fec6f7 in CMYK for printing?

cmyk(0%, 22%, 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 #fec6f7 warm or cool?

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

Work with #fec6f7 in the Color Lab