Skip to content

#fd4797

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

RGB
253, 71, 151
HSL
334°, 98%, 64%
CMYK
0, 72, 40, 1
Luminance
0.2762

At a glance

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

Hex
#fd4797
Hue
334°
magenta / pink
Saturation
98%
electric
Lightness
64%
balanced
Brightness
99%
HSV value
Perceived
62%
weighted brightness
Luminance
0.2762
WCAG relative
Temperature
Warm
31/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.52:1
Closest name
Deep Pink
ΔE2000 4.2
Where it sits
Hue334° of 360°
Saturation98%
Lightness64%
Temperature
Warm ← → Cool31% 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#fd4797
RGBrgb(253, 71, 151)
HSLhsl(334, 98%, 64%)
CMYKcmyk(0%, 72%, 40%, 1%)
LABlab(59.5 73.5 -2.8)
LCHlch(59.5 73.5 357.8)
OKLCHoklch(0.681 0.226 358.4)
Decimal16598935
Display P3color(display-p3 0.992 0.278 0.592)

Copy-ready code

/* CSS */
color: #fd4797;
background-color: #fd4797;
/* Tailwind (arbitrary) */
class="text-[#fd4797] bg-[#fd4797]"
/* SCSS */
$brand: #fd4797;
/* SwiftUI */
Color(red: 0.992, green: 0.278, blue: 0.592)
/* Android */
Color.parseColor("#fd4797")
/* Flutter */
Color(0xFFFD4797)
/* Python / OpenCV (BGR) */
(151, 71, 253)

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

Accessibility — WCAG contrast

Aa
#fd4797 on white: 3.22:1
AA ✗ fail · AA-large · AAA
Aa
#fd4797 on black: 6.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6D7999
deuteranopia · #9F9C93
tritanopia · #FF2E69

Color scale — 50 to 950

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

#FDF1F7
#FCE3EE
#FBC1DA
#FE90C0
#fd4797
#FD2182
#F2036C
#CA025A
#A10248
#740637
#490422
Base = 400Lightest = 50 · #FDF1F7Darkest = 950 · #490422
:root {
  --brand-50: #FDF1F7;
  --brand-100: #FCE3EE;
  --brand-200: #FBC1DA;
  --brand-300: #FE90C0;
  --brand-400: #fd4797;
  --brand-500: #FD2182;
  --brand-600: #F2036C;
  --brand-700: #CA025A;
  --brand-800: #A10248;
  --brand-900: #740637;
  --brand-950: #490422;
  --brand: #fd4797;
  --brand-ink: #000000;
}

Colors that work with #fd4797

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#9B4B6E
Captions on the surface
Accent#00CC40
Second voice, not a rival
Dark variant#7E0138
Hover, pressed, headers
Light variant#FFE6F1
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 #fd4797

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#47FDAD
Analogous left#FD47F2
Analogous right#FD5247
Split-complement 1#47FD52
Split-complement 2#47F2FD
Triadic 1#97FD47
Triadic 2#4797FD
Tetradic#F2FD47

RGB percentages

Red99.2%
Green27.8%
Blue59.2%

CMYK percentages

Cyan0.0%
Magenta71.9%
Yellow40.3%
Key (black)0.8%

Color previews

#fd4797 text on a black background

contrast 6.52:1

Card sample

#fd4797 text on a white background

contrast 3.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 71, 151, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 71, 151, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fd4797;
background: linear-gradient(135deg, #fd4797, #FD7047);

Monochromatic scale

Palettes built from #fd4797

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.

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

#fd4797, answered

What color is #fd4797?

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

What is the RGB value of #fd4797?

rgb(253, 71, 151) — 253 red, 71 green and 151 blue out of 255, or 99.2% / 27.8% / 59.2% by channel.

Is #fd4797 a light or a dark color?

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

Should I use black or white text on #fd4797?

Black. It scores 6.52:1 against #fd4797, versus 3.22:1 for white — AA at any size.

What is the complementary color of #fd4797?

#47FDAD sits directly opposite on the wheel. Softer options are the split-complements #47FD52 and #47F2FD, which give the same contrast with far less vibration.

What colors go well with #fd4797?

For interface work: #FAF4F7 as the surface, #EDC0D4 for borders, #9B4B6E for secondary text, #00CC40 as an accent and #7E0138 for hover and pressed states. For a palette, the analogous pair #FD47F2 and #FD5247 stays calm, while #47FDAD is the loudest partner.

What is #fd4797 in CMYK for printing?

cmyk(0%, 72%, 40%, 1%). 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 #fd4797 warm or cool?

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

Work with #fd4797 in the Color Lab