Skip to content

#f74f9b

a balanced, electric magenta / pink · warm · closest name: Deep Pink

RGB
247, 79, 155
HSL
333°, 91%, 64%
CMYK
0, 68, 37, 3
Luminance
0.2773

At a glance

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

Hex
#f74f9b
Hue
333°
magenta / pink
Saturation
91%
electric
Lightness
64%
balanced
Brightness
97%
HSV value
Perceived
62%
weighted brightness
Luminance
0.2773
WCAG relative
Temperature
Warm
32/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.55:1
Closest name
Deep Pink
ΔE2000 4.7
Where it sits
Hue333° of 360°
Saturation91%
Lightness64%
Temperature
Warm ← → Cool32% 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#f74f9b
RGBrgb(247, 79, 155)
HSLhsl(333, 91%, 64%)
CMYKcmyk(0%, 68%, 37%, 3%)
LABlab(59.6 69.5 -5.1)
LCHlch(59.6 69.7 355.8)
OKLCHoklch(0.680 0.213 356.6)
Decimal16207771
Display P3color(display-p3 0.969 0.310 0.608)

Copy-ready code

/* CSS */
color: #f74f9b;
background-color: #f74f9b;
/* Tailwind (arbitrary) */
class="text-[#f74f9b] bg-[#f74f9b]"
/* SCSS */
$brand: #f74f9b;
/* SwiftUI */
Color(red: 0.969, green: 0.310, blue: 0.608)
/* Android */
Color.parseColor("#f74f9b")
/* Flutter */
Color(0xFFF74F9B)
/* Python / OpenCV (BGR) */
(155, 79, 247)

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 #f74f9b · 6.55:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.21:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.55:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #f74f9b as text scores 3.21:1 on white and 6.55:1 on black.

Accessibility — WCAG contrast

Aa
#f74f9b on white: 3.21:1
AA ✗ fail · AA-large · AAA
Aa
#f74f9b on black: 6.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6E7C9D
deuteranopia · #9C9B97
tritanopia · #FF3E6F

Color scale — 50 to 950

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

#FDF2F7
#FBE4EF
#F9C3DB
#FA94C2
#f74f9b
#F52885
#EA0B70
#C3095D
#9C074A
#710A38
#460623
Base = 400Lightest = 50 · #FDF2F7Darkest = 950 · #460623
:root {
  --brand-50: #FDF2F7;
  --brand-100: #FBE4EF;
  --brand-200: #F9C3DB;
  --brand-300: #FA94C2;
  --brand-400: #f74f9b;
  --brand-500: #F52885;
  --brand-600: #EA0B70;
  --brand-700: #C3095D;
  --brand-800: #9C074A;
  --brand-900: #710A38;
  --brand-950: #460623;
  --brand: #f74f9b;
  --brand-ink: #000000;
}

Colors that work with #f74f9b

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#EDC0D4
Hairlines and dividers
Muted text#9B4B6F
Captions on the surface
Accent#04C83F
Second voice, not a rival
Dark variant#7A063A
Hover, pressed, headers
Light variant#FEE7F1
Selected rows, tints
Dark surface#24141B
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 #f74f9b

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#4FF7AB
Analogous left#F74FEF
Analogous right#F7574F
Split-complement 1#4FF757
Split-complement 2#4FEFF7
Triadic 1#9BF74F
Triadic 2#4F9BF7
Tetradic#EFF74F

RGB percentages

Red96.9%
Green31.0%
Blue60.8%

CMYK percentages

Cyan0.0%
Magenta68.0%
Yellow37.2%
Key (black)3.1%

Color previews

#f74f9b text on a black background

contrast 6.55:1

Card sample

#f74f9b text on a white background

contrast 3.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f74f9b

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.

#f74f9b 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
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#f74f9b, answered

What color is #f74f9b?

#f74f9b is a balanced electric magenta / pink, closest to Deep Pink (ΔE2000 4.7). It sits at 333° on the hue wheel with 91% saturation and 64% lightness, which reads as warm.

What is the RGB value of #f74f9b?

rgb(247, 79, 155) — 247 red, 79 green and 155 blue out of 255, or 96.9% / 31% / 60.8% by channel.

Is #f74f9b a light or a dark color?

It is a mid-tone. Relative luminance is 0.2773 and perceived brightness is 62%, so black text on it reaches 6.55:1.

Should I use black or white text on #f74f9b?

Black. It scores 6.55:1 against #f74f9b, versus 3.21:1 for white — AA at any size.

What is the complementary color of #f74f9b?

#4FF7AB sits directly opposite on the wheel. Softer options are the split-complements #4FF757 and #4FEFF7, which give the same contrast with far less vibration.

What colors go well with #f74f9b?

For interface work: #FAF4F7 as the surface, #EDC0D4 for borders, #9B4B6F for secondary text, #04C83F as an accent and #7A063A for hover and pressed states. For a palette, the analogous pair #F74FEF and #F7574F stays calm, while #4FF7AB is the loudest partner.

What is #f74f9b in CMYK for printing?

cmyk(0%, 68%, 37%, 3%). 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 #f74f9b warm or cool?

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

Work with #f74f9b in the Color Lab