Skip to content

#f032fa

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

RGB
240, 50, 250
HSL
297°, 95%, 59%
CMYK
4, 80, 0, 2
Luminance
0.2771

At a glance

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

Hex
#f032fa
Hue
297°
magenta / pink
Saturation
95%
electric
Lightness
59%
balanced
Brightness
98%
HSV value
Perceived
63%
weighted brightness
Luminance
0.2771
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.54:1
Closest name
Magenta
ΔE2000 2
Where it sits
Hue297° of 360°
Saturation95%
Lightness59%
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#f032fa
RGBrgb(240, 50, 250)
HSLhsl(297, 95%, 59%)
CMYKcmyk(4%, 80%, 0%, 2%)
LABlab(59.6 89.0 -59.3)
LCHlch(59.6 106.9 326.3)
OKLCHoklch(0.691 0.294 325.8)
Decimal15741690
Display P3color(display-p3 0.941 0.196 0.980)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f032fa on white: 3.21:1
AA ✗ fail · AA-large · AAA
Aa
#f032fa on black: 6.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0081FF
deuteranopia · #6597F5
tritanopia · #F65A99

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f032fa 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
#FAE4FC
#F7C2FA
#F791FC
#F35BFB
#f032fa
#E306EF
#BD05C7
#98049F
#6D0873
#440548
Base = 500Lightest = 50 · #FDF1FDDarkest = 950 · #440548
:root {
  --brand-50: #FDF1FD;
  --brand-100: #FAE4FC;
  --brand-200: #F7C2FA;
  --brand-300: #F791FC;
  --brand-400: #F35BFB;
  --brand-500: #f032fa;
  --brand-600: #E306EF;
  --brand-700: #BD05C7;
  --brand-800: #98049F;
  --brand-900: #6D0873;
  --brand-950: #440548;
  --brand: #f032fa;
  --brand-ink: #000000;
}

Colors that work with #f032fa

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#EAC0ED
Hairlines and dividers
Muted text#974B9B
Captions on the surface
Accent#3DCB01
Second voice, not a rival
Dark variant#76037C
Hover, pressed, headers
Light variant#FDE6FE
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 #f032fa

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#3CFA32
Analogous left#8C32FA
Analogous right#FA32A0
Split-complement 1#A0FA32
Split-complement 2#32FA8C
Triadic 1#FAF032
Triadic 2#32FAF0
Tetradic#FA8C32

RGB percentages

Red94.1%
Green19.6%
Blue98.0%

CMYK percentages

Cyan4.0%
Magenta80.0%
Yellow0.0%
Key (black)2.0%

Color previews

#f032fa text on a black background

contrast 6.54:1

Card sample

#f032fa text on a white background

contrast 3.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f032fa

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.

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

#f032fa, answered

What color is #f032fa?

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

What is the RGB value of #f032fa?

rgb(240, 50, 250) — 240 red, 50 green and 250 blue out of 255, or 94.1% / 19.6% / 98% by channel.

Is #f032fa a light or a dark color?

It is a mid-tone. Relative luminance is 0.2771 and perceived brightness is 63%, so black text on it reaches 6.54:1.

Should I use black or white text on #f032fa?

Black. It scores 6.54:1 against #f032fa, versus 3.21:1 for white — AA at any size.

What is the complementary color of #f032fa?

#3CFA32 sits directly opposite on the wheel. Softer options are the split-complements #A0FA32 and #32FA8C, which give the same contrast with far less vibration.

What colors go well with #f032fa?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #974B9B for secondary text, #3DCB01 as an accent and #76037C for hover and pressed states. For a palette, the analogous pair #8C32FA and #FA32A0 stays calm, while #3CFA32 is the loudest partner.

What is #f032fa in CMYK for printing?

cmyk(4%, 80%, 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 #f032fa 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 #FA32BB; nudged cooler, #A730FC.

Work with #f032fa in the Color Lab