Skip to content

#f97fcf

a light, electric magenta / pink · warm · closest name: Hot Pink

RGB
249, 127, 207
HSL
321°, 91%, 74%
CMYK
0, 49, 17, 2
Luminance
0.3982

At a glance

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

Hex
#f97fcf
Hue
321°
magenta / pink
Saturation
91%
electric
Lightness
74%
light
Brightness
98%
HSV value
Perceived
71%
weighted brightness
Luminance
0.3982
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
8.96:1
Closest name
Hot Pink
ΔE2000 5.9
Where it sits
Hue321° of 360°
Saturation91%
Lightness74%
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#f97fcf
RGBrgb(249, 127, 207)
HSLhsl(321, 91%, 74%)
CMYKcmyk(0%, 49%, 17%, 2%)
LABlab(69.3 56.0 -20.1)
LCHlch(69.3 59.5 340.3)
OKLCHoklch(0.758 0.174 342.1)
Decimal16351183
Display P3color(display-p3 0.976 0.498 0.812)

Copy-ready code

/* CSS */
color: #f97fcf;
background-color: #f97fcf;
/* Tailwind (arbitrary) */
class="text-[#f97fcf] bg-[#f97fcf]"
/* SCSS */
$brand: #f97fcf;
/* SwiftUI */
Color(red: 0.976, green: 0.498, blue: 0.812)
/* Android */
Color.parseColor("#f97fcf")
/* Flutter */
Color(0xFFF97FCF)
/* Python / OpenCV (BGR) */
(207, 127, 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 #f97fcf · 8.96:1
Use #000000AAA at every size.
Aa
White text · 2.34:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.96:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f97fcf as text scores 2.34:1 on white and 8.96:1 on black.

Accessibility — WCAG contrast

Aa
#f97fcf on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#f97fcf on black: 8.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #869DD2
deuteranopia · #A7B1CC
tritanopia · #FF809E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f97fcf is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDF2F9
#FBE5F3
#F9C3E6
#f97fcf
#F75EC3
#F529AE
#EA0B9D
#C30983
#9C0769
#700A4D
#460630
Base = 300Lightest = 50 · #FDF2F9Darkest = 950 · #460630
:root {
  --brand-50: #FDF2F9;
  --brand-100: #FBE5F3;
  --brand-200: #F9C3E6;
  --brand-300: #f97fcf;
  --brand-400: #F75EC3;
  --brand-500: #F529AE;
  --brand-600: #EA0B9D;
  --brand-700: #C30983;
  --brand-800: #9C0769;
  --brand-900: #700A4D;
  --brand-950: #460630;
  --brand: #f97fcf;
  --brand-ink: #000000;
}

Colors that work with #f97fcf

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#05C717
Second voice, not a rival
Dark variant#7A0652
Hover, pressed, headers
Light variant#FEE7F6
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 #f97fcf

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#7FF9A9
Analogous left#E67FF9
Analogous right#F97F92
Split-complement 1#92F97F
Split-complement 2#7FF9E6
Triadic 1#CFF97F
Triadic 2#7FCFF9
Tetradic#F9E67F

RGB percentages

Red97.6%
Green49.8%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta49.0%
Yellow16.9%
Key (black)2.4%

Color previews

#f97fcf text on a black background

contrast 8.96:1

Card sample

#f97fcf text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f97fcf

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.

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

#f97fcf, answered

What color is #f97fcf?

#f97fcf is a light electric magenta / pink, closest to Hot Pink (ΔE2000 5.9). It sits at 321° on the hue wheel with 91% saturation and 74% lightness, which reads as warm.

What is the RGB value of #f97fcf?

rgb(249, 127, 207) — 249 red, 127 green and 207 blue out of 255, or 97.6% / 49.8% / 81.2% by channel.

Is #f97fcf a light or a dark color?

It is a mid-tone. Relative luminance is 0.3982 and perceived brightness is 71%, so black text on it reaches 8.96:1.

Should I use black or white text on #f97fcf?

Black. It scores 8.96:1 against #f97fcf, versus 2.34:1 for white — AAA at any size.

What is the complementary color of #f97fcf?

#7FF9A9 sits directly opposite on the wheel. Softer options are the split-complements #92F97F and #7FF9E6, which give the same contrast with far less vibration.

What colors go well with #f97fcf?

For interface work: #FAF4F8 as the surface, #EDC0DD for borders, #9B4B7F for secondary text, #05C717 as an accent and #7A0652 for hover and pressed states. For a palette, the analogous pair #E67FF9 and #F97F92 stays calm, while #7FF9A9 is the loudest partner.

What is #f97fcf in CMYK for printing?

cmyk(0%, 49%, 17%, 2%). 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 #f97fcf 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 #F97FA2; nudged cooler, #F87EFA.

Work with #f97fcf in the Color Lab