Skip to content

#f049fd

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

RGB
240, 73, 253
HSL
296°, 98%, 64%
CMYK
5, 71, 0, 1
Luminance
0.3038

At a glance

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

Hex
#f049fd
Hue
296°
magenta / pink
Saturation
98%
electric
Lightness
64%
balanced
Brightness
99%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3038
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.08:1
Closest name
Magenta
ΔE2000 3.4
Where it sits
Hue296° of 360°
Saturation98%
Lightness64%
Temperature
Warm ← → Cool52% 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#f049fd
RGBrgb(240, 73, 253)
HSLhsl(296, 98%, 64%)
CMYKcmyk(5%, 71%, 0%, 1%)
LABlab(62.0 83.1 -57.2)
LCHlch(62.0 100.9 325.5)
OKLCHoklch(0.709 0.276 324.8)
Decimal15747581
Display P3color(display-p3 0.941 0.286 0.992)

Copy-ready code

/* CSS */
color: #f049fd;
background-color: #f049fd;
/* Tailwind (arbitrary) */
class="text-[#f049fd] bg-[#f049fd]"
/* SCSS */
$brand: #f049fd;
/* SwiftUI */
Color(red: 0.941, green: 0.286, blue: 0.992)
/* Android */
Color.parseColor("#f049fd")
/* Flutter */
Color(0xFFF049FD)
/* Python / OpenCV (BGR) */
(253, 73, 240)

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

Accessibility — WCAG contrast

Aa
#f049fd on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#f049fd on black: 7.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0589FF
deuteranopia · #6D9DF9
tritanopia · #F5689F

Color scale — 50 to 950

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

#FDF1FD
#FAE3FC
#F7C1FB
#F690FE
#f049fd
#ED21FD
#E103F2
#BB02CA
#9602A1
#6C0674
#440449
Base = 400Lightest = 50 · #FDF1FDDarkest = 950 · #440449
:root {
  --brand-50: #FDF1FD;
  --brand-100: #FAE3FC;
  --brand-200: #F7C1FB;
  --brand-300: #F690FE;
  --brand-400: #f049fd;
  --brand-500: #ED21FD;
  --brand-600: #E103F2;
  --brand-700: #BB02CA;
  --brand-800: #9602A1;
  --brand-900: #6C0674;
  --brand-950: #440449;
  --brand: #f049fd;
  --brand-ink: #000000;
}

Colors that work with #f049fd

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#E9C0ED
Hairlines and dividers
Muted text#954B9B
Captions on the surface
Accent#41CC00
Second voice, not a rival
Dark variant#75017E
Hover, pressed, headers
Light variant#FDE6FF
Selected rows, tints
Dark surface#231424
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 #f049fd

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#56FD49
Analogous left#9649FD
Analogous right#FD49B0
Split-complement 1#B0FD49
Split-complement 2#49FD96
Triadic 1#FDF049
Triadic 2#49FDF0
Tetradic#FD9649

RGB percentages

Red94.1%
Green28.6%
Blue99.2%

CMYK percentages

Cyan5.1%
Magenta71.1%
Yellow0.0%
Key (black)0.8%

Color previews

#f049fd text on a black background

contrast 7.08:1

Card sample

#f049fd text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f049fd

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.

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

#f049fd, answered

What color is #f049fd?

#f049fd is a balanced electric magenta / pink, closest to Magenta (ΔE2000 3.4). It sits at 296° on the hue wheel with 98% saturation and 64% lightness, which reads as neutral.

What is the RGB value of #f049fd?

rgb(240, 73, 253) — 240 red, 73 green and 253 blue out of 255, or 94.1% / 28.6% / 99.2% by channel.

Is #f049fd a light or a dark color?

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

Should I use black or white text on #f049fd?

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

What is the complementary color of #f049fd?

#56FD49 sits directly opposite on the wheel. Softer options are the split-complements #B0FD49 and #49FD96, which give the same contrast with far less vibration.

What colors go well with #f049fd?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #954B9B for secondary text, #41CC00 as an accent and #75017E for hover and pressed states. For a palette, the analogous pair #9649FD and #FD49B0 stays calm, while #56FD49 is the loudest partner.

What is #f049fd in CMYK for printing?

cmyk(5%, 71%, 0%, 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 #f049fd warm or cool?

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

Work with #f049fd in the Color Lab