Skip to content

#f93cfb

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

RGB
249, 60, 251
HSL
299°, 96%, 61%
CMYK
1, 76, 0, 2
Luminance
0.3034

At a glance

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

Hex
#f93cfb
Hue
299°
magenta / pink
Saturation
96%
electric
Lightness
61%
balanced
Brightness
98%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3034
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.07:1
Closest name
Magenta
ΔE2000 2.3
Where it sits
Hue299° of 360°
Saturation96%
Lightness61%
Temperature
Warm ← → Cool50% 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#f93cfb
RGBrgb(249, 60, 251)
HSLhsl(299, 96%, 61%)
CMYKcmyk(1%, 76%, 0%, 2%)
LABlab(62.0 88.3 -56.1)
LCHlch(62.0 104.7 327.6)
OKLCHoklch(0.711 0.291 327.6)
Decimal16334075
Display P3color(display-p3 0.976 0.235 0.984)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f93cfb on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#f93cfb on black: 7.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0086FF
deuteranopia · #729EF6
tritanopia · #FF5D9B

Color scale — 50 to 950

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

#FDF1FD
#FBE4FC
#FAC1FA
#FC91FD
#FA5AFC
#f93cfb
#EE05F0
#C604C8
#9E03A0
#720773
#470448
Base = 500Lightest = 50 · #FDF1FDDarkest = 950 · #470448
:root {
  --brand-50: #FDF1FD;
  --brand-100: #FBE4FC;
  --brand-200: #FAC1FA;
  --brand-300: #FC91FD;
  --brand-400: #FA5AFC;
  --brand-500: #f93cfb;
  --brand-600: #EE05F0;
  --brand-700: #C604C8;
  --brand-800: #9E03A0;
  --brand-900: #720773;
  --brand-950: #470448;
  --brand: #f93cfb;
  --brand-ink: #000000;
}

Colors that work with #f93cfb

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#FAF4FA
Tinted page background
Border#ECC0ED
Hairlines and dividers
Muted text#9A4B9B
Captions on the surface
Accent#35CC00
Second voice, not a rival
Dark variant#7C037D
Hover, pressed, headers
Light variant#FEE6FE
Selected rows, tints
Dark surface#241424
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 #f93cfb

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
  • 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
  • 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#3EFB3C
Analogous left#9A3CFB
Analogous right#FB3C9D
Split-complement 1#9DFB3C
Split-complement 2#3CFB9A
Triadic 1#FBF93C
Triadic 2#3CFBF9
Tetradic#FB9A3C

RGB percentages

Red97.6%
Green23.5%
Blue98.4%

CMYK percentages

Cyan0.8%
Magenta76.1%
Yellow0.0%
Key (black)1.6%

Color previews

#f93cfb text on a black background

contrast 7.07:1

Card sample

#f93cfb text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f93cfb

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.

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

#f93cfb, answered

What color is #f93cfb?

#f93cfb is a balanced electric magenta / pink, closest to Magenta (ΔE2000 2.3). It sits at 299° on the hue wheel with 96% saturation and 61% lightness, which reads as neutral.

What is the RGB value of #f93cfb?

rgb(249, 60, 251) — 249 red, 60 green and 251 blue out of 255, or 97.6% / 23.5% / 98.4% by channel.

Is #f93cfb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3034 and perceived brightness is 65%, so black text on it reaches 7.07:1.

Should I use black or white text on #f93cfb?

Black. It scores 7.07:1 against #f93cfb, versus 2.97:1 for white — AAA at any size.

What is the complementary color of #f93cfb?

#3EFB3C sits directly opposite on the wheel. Softer options are the split-complements #9DFB3C and #3CFB9A, which give the same contrast with far less vibration.

What colors go well with #f93cfb?

For interface work: #FAF4FA as the surface, #ECC0ED for borders, #9A4B9B for secondary text, #35CC00 as an accent and #7C037D for hover and pressed states. For a palette, the analogous pair #9A3CFB and #FB3C9D stays calm, while #3EFB3C is the loudest partner.

What is #f93cfb in CMYK for printing?

cmyk(1%, 76%, 0%, 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 #f93cfb warm or cool?

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

Work with #f93cfb in the Color Lab