Skip to content

#f91fd5

a balanced, electric magenta / pink · neutral · closest name: Magenta

RGB
249, 31, 213
HSL
310°, 95%, 55%
CMYK
0, 88, 15, 2
Luminance
0.2592

At a glance

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

Hex
#f91fd5
Hue
310°
magenta / pink
Saturation
95%
electric
Lightness
55%
balanced
Brightness
98%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2592
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.18:1
Closest name
Magenta
ΔE2000 5.6
Where it sits
Hue310° of 360°
Saturation95%
Lightness55%
Temperature
Warm ← → Cool45% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#f91fd5
RGBrgb(249, 31, 213)
HSLhsl(310, 95%, 55%)
CMYKcmyk(0%, 88%, 15%, 2%)
LABlab(58.0 89.0 -41.1)
LCHlch(58.0 98.0 335.2)
OKLCHoklch(0.676 0.286 336.9)
Decimal16326613
Display P3color(display-p3 0.976 0.122 0.835)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f91fd5 on white: 3.40:1
AA ✗ fail · AA-large · AAA
Aa
#f91fd5 on black: 6.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2977D9
deuteranopia · #7E96D0
tritanopia · #FF3680

Color scale — 50 to 950

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

#FDF1FB
#FBE4F8
#FAC2F1
#FC92EB
#FB5BE0
#f91fd5
#EE06C8
#C705A7
#9F0485
#730861
#48053D
Base = 500Lightest = 50 · #FDF1FBDarkest = 950 · #48053D
:root {
  --brand-50: #FDF1FB;
  --brand-100: #FBE4F8;
  --brand-200: #FAC2F1;
  --brand-300: #FC92EB;
  --brand-400: #FB5BE0;
  --brand-500: #f91fd5;
  --brand-600: #EE06C8;
  --brand-700: #C705A7;
  --brand-800: #9F0485;
  --brand-900: #730861;
  --brand-950: #48053D;
  --brand: #f91fd5;
  --brand-ink: #000000;
}

Colors that work with #f91fd5

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#EDC0E5
Hairlines and dividers
Muted text#9B4B8E
Captions on the surface
Accent#13CB01
Second voice, not a rival
Dark variant#7C0368
Hover, pressed, headers
Light variant#FEE6FA
Selected rows, tints
Dark surface#241422
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 #f91fd5

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#1FF943
Analogous left#B01FF9
Analogous right#F91F68
Split-complement 1#68F91F
Split-complement 2#1FF9B0
Triadic 1#D5F91F
Triadic 2#1FD5F9
Tetradic#F9B01F

RGB percentages

Red97.6%
Green12.2%
Blue83.5%

CMYK percentages

Cyan0.0%
Magenta87.6%
Yellow14.5%
Key (black)2.4%

Color previews

#f91fd5 text on a black background

contrast 6.18:1

Card sample

#f91fd5 text on a white background

contrast 3.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f91fd5

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.

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

#f91fd5, answered

What color is #f91fd5?

#f91fd5 is a balanced electric magenta / pink, closest to Magenta (ΔE2000 5.6). It sits at 310° on the hue wheel with 95% saturation and 55% lightness, which reads as neutral.

What is the RGB value of #f91fd5?

rgb(249, 31, 213) — 249 red, 31 green and 213 blue out of 255, or 97.6% / 12.2% / 83.5% by channel.

Is #f91fd5 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2592 and perceived brightness is 61%, so black text on it reaches 6.18:1.

Should I use black or white text on #f91fd5?

Black. It scores 6.18:1 against #f91fd5, versus 3.40:1 for white — AA at any size.

What is the complementary color of #f91fd5?

#1FF943 sits directly opposite on the wheel. Softer options are the split-complements #68F91F and #1FF9B0, which give the same contrast with far less vibration.

What colors go well with #f91fd5?

For interface work: #FAF4F9 as the surface, #EDC0E5 for borders, #9B4B8E for secondary text, #13CB01 as an accent and #7C0368 for hover and pressed states. For a palette, the analogous pair #B01FF9 and #F91F68 stays calm, while #1FF943 is the loudest partner.

What is #f91fd5 in CMYK for printing?

cmyk(0%, 88%, 15%, 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 #f91fd5 warm or cool?

Neutral — it scores 45 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F91F85; nudged cooler, #CE1DFB.

Work with #f91fd5 in the Color Lab