Skip to content

#fd2f8e

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

RGB
253, 47, 142
HSL
332°, 98%, 59%
CMYK
0, 81, 44, 1
Luminance
0.2487

At a glance

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

Hex
#fd2f8e
Hue
332°
magenta / pink
Saturation
98%
electric
Lightness
59%
balanced
Brightness
99%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2487
WCAG relative
Temperature
Warm
32/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.97:1
Closest name
Deep Pink
ΔE2000 2.1
Where it sits
Hue332° of 360°
Saturation98%
Lightness59%
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#fd2f8e
RGBrgb(253, 47, 142)
HSLhsl(332, 98%, 59%)
CMYKcmyk(0%, 81%, 44%, 1%)
LABlab(57.0 79.3 -1.3)
LCHlch(57.0 79.3 359.0)
OKLCHoklch(0.661 0.244 359.4)
Decimal16592782
Display P3color(display-p3 0.992 0.184 0.557)

Copy-ready code

/* CSS */
color: #fd2f8e;
background-color: #fd2f8e;
/* Tailwind (arbitrary) */
class="text-[#fd2f8e] bg-[#fd2f8e]"
/* SCSS */
$brand: #fd2f8e;
/* SwiftUI */
Color(red: 0.992, green: 0.184, blue: 0.557)
/* Android */
Color.parseColor("#fd2f8e")
/* Flutter */
Color(0xFFFD2F8E)
/* Python / OpenCV (BGR) */
(142, 47, 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 #fd2f8e · 5.97:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.52:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.97:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #fd2f8e as text scores 3.52:1 on white and 5.97:1 on black.

Accessibility — WCAG contrast

Aa
#fd2f8e on white: 3.52:1
AA ✗ fail · AA-large · AAA
Aa
#fd2f8e on black: 5.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #637090
deuteranopia · #9A9689
tritanopia · #FF005C

Color scale — 50 to 950

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

#FDF1F7
#FCE3EF
#FBC1DC
#FE90C3
#FD58A5
#fd2f8e
#F20271
#CA025E
#A2024B
#740639
#490424
Base = 500Lightest = 50 · #FDF1F7Darkest = 950 · #490424
:root {
  --brand-50: #FDF1F7;
  --brand-100: #FCE3EF;
  --brand-200: #FBC1DC;
  --brand-300: #FE90C3;
  --brand-400: #FD58A5;
  --brand-500: #fd2f8e;
  --brand-600: #F20271;
  --brand-700: #CA025E;
  --brand-800: #A2024B;
  --brand-900: #740639;
  --brand-950: #490424;
  --brand: #fd2f8e;
  --brand-ink: #000000;
}

Colors that work with #fd2f8e

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#9B4B70
Captions on the surface
Accent#00CC3A
Second voice, not a rival
Dark variant#7E013B
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 #fd2f8e

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#2FFD9E
Analogous left#FD2FF5
Analogous right#FD372F
Split-complement 1#2FFD37
Split-complement 2#2FF5FD
Triadic 1#8EFD2F
Triadic 2#2F8EFD
Tetradic#F5FD2F

RGB percentages

Red99.2%
Green18.4%
Blue55.7%

CMYK percentages

Cyan0.0%
Magenta81.4%
Yellow43.9%
Key (black)0.8%

Color previews

#fd2f8e text on a black background

contrast 5.97:1

Card sample

#fd2f8e text on a white background

contrast 3.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd2f8e

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.

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

#fd2f8e, answered

What color is #fd2f8e?

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

What is the RGB value of #fd2f8e?

rgb(253, 47, 142) — 253 red, 47 green and 142 blue out of 255, or 99.2% / 18.4% / 55.7% by channel.

Is #fd2f8e a light or a dark color?

It is a mid-tone. Relative luminance is 0.2487 and perceived brightness is 59%, so black text on it reaches 5.97:1.

Should I use black or white text on #fd2f8e?

Black. It scores 5.97:1 against #fd2f8e, versus 3.52:1 for white — AA at any size.

What is the complementary color of #fd2f8e?

#2FFD9E sits directly opposite on the wheel. Softer options are the split-complements #2FFD37 and #2FF5FD, which give the same contrast with far less vibration.

What colors go well with #fd2f8e?

For interface work: #FAF4F7 as the surface, #EDC0D4 for borders, #9B4B70 for secondary text, #00CC3A as an accent and #7E013B for hover and pressed states. For a palette, the analogous pair #FD2FF5 and #FD372F stays calm, while #2FFD9E is the loudest partner.

What is #fd2f8e in CMYK for printing?

cmyk(0%, 81%, 44%, 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 #fd2f8e 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 #FD2F42; nudged cooler, #FF2DDB.

Work with #fd2f8e in the Color Lab