Skip to content

#f978ac

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

RGB
249, 120, 172
HSL
336°, 92%, 72%
CMYK
0, 52, 31, 2
Luminance
0.3655

At a glance

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

Hex
#f978ac
Hue
336°
magenta / pink
Saturation
92%
electric
Lightness
72%
light
Brightness
98%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3655
WCAG relative
Temperature
Warm
30/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
8.31:1
Closest name
Hot Pink
ΔE2000 3.9
Where it sits
Hue336° of 360°
Saturation92%
Lightness72%
Temperature
Warm ← → Cool30% 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#f978ac
RGBrgb(249, 120, 172)
HSLhsl(336, 92%, 72%)
CMYKcmyk(0%, 52%, 31%, 2%)
LABlab(66.9 54.6 -4.0)
LCHlch(66.9 54.8 355.8)
OKLCHoklch(0.737 0.166 356.6)
Decimal16349356
Display P3color(display-p3 0.976 0.471 0.675)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f978ac on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#f978ac on black: 8.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8B94AE
deuteranopia · #ADACA9
tritanopia · #FF708B

Color scale — 50 to 950

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

#FDF2F6
#FBE4EE
#F9C3D9
#FA94BD
#f978ac
#F5287B
#EA0A65
#C30954
#9C0743
#710A33
#460620
Base = 400Lightest = 50 · #FDF2F6Darkest = 950 · #460620
:root {
  --brand-50: #FDF2F6;
  --brand-100: #FBE4EE;
  --brand-200: #F9C3D9;
  --brand-300: #FA94BD;
  --brand-400: #f978ac;
  --brand-500: #F5287B;
  --brand-600: #EA0A65;
  --brand-700: #C30954;
  --brand-800: #9C0743;
  --brand-900: #710A33;
  --brand-950: #460620;
  --brand: #f978ac;
  --brand-ink: #000000;
}

Colors that work with #f978ac

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#FAF4F7
Tinted page background
Border#EDC0D2
Hairlines and dividers
Muted text#9B4B6B
Captions on the surface
Accent#04C848
Second voice, not a rival
Dark variant#7A0534
Hover, pressed, headers
Light variant#FEE7F0
Selected rows, tints
Dark surface#24141A
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 #f978ac

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#78F9C5
Analogous left#F978ED
Analogous right#F98578
Split-complement 1#78F985
Split-complement 2#78EDF9
Triadic 1#ACF978
Triadic 2#78ACF9
Tetradic#EDF978

RGB percentages

Red97.6%
Green47.1%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta51.8%
Yellow30.9%
Key (black)2.4%

Color previews

#f978ac text on a black background

contrast 8.31:1

Card sample

#f978ac text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f978ac

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.

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

#f978ac, answered

What color is #f978ac?

#f978ac is a light electric magenta / pink, closest to Hot Pink (ΔE2000 3.9). It sits at 336° on the hue wheel with 92% saturation and 72% lightness, which reads as warm.

What is the RGB value of #f978ac?

rgb(249, 120, 172) — 249 red, 120 green and 172 blue out of 255, or 97.6% / 47.1% / 67.5% by channel.

Is #f978ac a light or a dark color?

It is a mid-tone. Relative luminance is 0.3655 and perceived brightness is 68%, so black text on it reaches 8.31:1.

Should I use black or white text on #f978ac?

Black. It scores 8.31:1 against #f978ac, versus 2.53:1 for white — AAA at any size.

What is the complementary color of #f978ac?

#78F9C5 sits directly opposite on the wheel. Softer options are the split-complements #78F985 and #78EDF9, which give the same contrast with far less vibration.

What colors go well with #f978ac?

For interface work: #FAF4F7 as the surface, #EDC0D2 for borders, #9B4B6B for secondary text, #04C848 as an accent and #7A0534 for hover and pressed states. For a palette, the analogous pair #F978ED and #F98578 stays calm, while #78F9C5 is the loudest partner.

What is #f978ac in CMYK for printing?

cmyk(0%, 52%, 31%, 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 #f978ac warm or cool?

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

Work with #f978ac in the Color Lab