Skip to content

#f97ad2

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

RGB
249, 122, 210
HSL
318°, 91%, 73%
CMYK
0, 51, 16, 2
Luminance
0.3871

At a glance

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

Hex
#f97ad2
Hue
318°
magenta / pink
Saturation
91%
electric
Lightness
73%
light
Brightness
98%
HSV value
Perceived
70%
weighted brightness
Luminance
0.3871
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
8.74:1
Closest name
Violet
ΔE2000 6
Where it sits
Hue318° of 360°
Saturation91%
Lightness73%
Temperature
Warm ← → Cool40% 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#f97ad2
RGBrgb(249, 122, 210)
HSLhsl(318, 91%, 73%)
CMYKcmyk(0%, 51%, 16%, 2%)
LABlab(68.5 58.9 -23.0)
LCHlch(68.5 63.2 338.7)
OKLCHoklch(0.753 0.184 340.5)
Decimal16349906
Display P3color(display-p3 0.976 0.478 0.824)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f97ad2 on white: 2.40:1
AA ✗ fail · AA-large · AAA
Aa
#f97ad2 on black: 8.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #809AD5
deuteranopia · #A3AFCF
tritanopia · #FF7C9D

Color scale — 50 to 950

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

#FDF2FA
#FBE4F4
#F9C3E8
#f97ad2
#F85EC9
#F528B6
#EA0BA6
#C3098A
#9C076E
#710A51
#460633
Base = 300Lightest = 50 · #FDF2FADarkest = 950 · #460633
:root {
  --brand-50: #FDF2FA;
  --brand-100: #FBE4F4;
  --brand-200: #F9C3E8;
  --brand-300: #f97ad2;
  --brand-400: #F85EC9;
  --brand-500: #F528B6;
  --brand-600: #EA0BA6;
  --brand-700: #C3098A;
  --brand-800: #9C076E;
  --brand-900: #710A51;
  --brand-950: #460633;
  --brand: #f97ad2;
  --brand-ink: #000000;
}

Colors that work with #f97ad2

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#EDC0DF
Hairlines and dividers
Muted text#9B4B82
Captions on the surface
Accent#04C80F
Second voice, not a rival
Dark variant#7A0556
Hover, pressed, headers
Light variant#FEE7F7
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 #f97ad2

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#7AF9A1
Analogous left#E07AF9
Analogous right#F97A92
Split-complement 1#92F97A
Split-complement 2#7AF9E0
Triadic 1#D2F97A
Triadic 2#7AD2F9
Tetradic#F9E07A

RGB percentages

Red97.6%
Green47.8%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta51.0%
Yellow15.7%
Key (black)2.4%

Color previews

#f97ad2 text on a black background

contrast 8.74:1

Card sample

#f97ad2 text on a white background

contrast 2.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f97ad2

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.

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

#f97ad2, answered

What color is #f97ad2?

#f97ad2 is a light electric magenta / pink, closest to Violet (ΔE2000 6). It sits at 318° on the hue wheel with 91% saturation and 73% lightness, which reads as warm.

What is the RGB value of #f97ad2?

rgb(249, 122, 210) — 249 red, 122 green and 210 blue out of 255, or 97.6% / 47.8% / 82.4% by channel.

Is #f97ad2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3871 and perceived brightness is 70%, so black text on it reaches 8.74:1.

Should I use black or white text on #f97ad2?

Black. It scores 8.74:1 against #f97ad2, versus 2.40:1 for white — AAA at any size.

What is the complementary color of #f97ad2?

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

What colors go well with #f97ad2?

For interface work: #FAF4F9 as the surface, #EDC0DF for borders, #9B4B82 for secondary text, #04C80F as an accent and #7A0556 for hover and pressed states. For a palette, the analogous pair #E07AF9 and #F97A92 stays calm, while #7AF9A1 is the loudest partner.

What is #f97ad2 in CMYK for printing?

cmyk(0%, 51%, 16%, 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 #f97ad2 warm or cool?

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

Work with #f97ad2 in the Color Lab