Skip to content

#f032d8

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

RGB
240, 50, 216
HSL
308°, 86%, 57%
CMYK
0, 79, 10, 6
Luminance
0.2576

At a glance

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

Hex
#f032d8
Hue
308°
magenta / pink
Saturation
86%
electric
Lightness
57%
balanced
Brightness
94%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2576
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.15:1
Closest name
Magenta
ΔE2000 5.1
Where it sits
Hue308° of 360°
Saturation86%
Lightness57%
Temperature
Warm ← → Cool46% 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#f032d8
RGBrgb(240, 50, 216)
HSLhsl(308, 86%, 57%)
CMYKcmyk(0%, 79%, 10%, 6%)
LABlab(57.8 84.0 -43.1)
LCHlch(57.8 94.4 332.8)
OKLCHoklch(0.672 0.272 334.2)
Decimal15741656
Display P3color(display-p3 0.941 0.196 0.847)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f032d8 on white: 3.41:1
AA ✗ fail · AA-large · AAA
Aa
#f032d8 on black: 6.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2C7ADC
deuteranopia · #7994D4
tritanopia · #FB4785

Color scale — 50 to 950

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

#FDF2FB
#FAE5F8
#F7C5F1
#F796EB
#F462E1
#f032d8
#E411C9
#BE0EA8
#980B86
#6E0D62
#45083D
Base = 500Lightest = 50 · #FDF2FBDarkest = 950 · #45083D
:root {
  --brand-50: #FDF2FB;
  --brand-100: #FAE5F8;
  --brand-200: #F7C5F1;
  --brand-300: #F796EB;
  --brand-400: #F462E1;
  --brand-500: #f032d8;
  --brand-600: #E411C9;
  --brand-700: #BE0EA8;
  --brand-800: #980B86;
  --brand-900: #6E0D62;
  --brand-950: #45083D;
  --brand: #f032d8;
  --brand-ink: #000000;
}

Colors that work with #f032d8

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#EDC0E7
Hairlines and dividers
Muted text#9B4B91
Captions on the surface
Accent#21C20A
Second voice, not a rival
Dark variant#770969
Hover, pressed, headers
Light variant#FDE7FA
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 #f032d8

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#32F04A
Analogous left#A932F0
Analogous right#F03279
Split-complement 1#79F032
Split-complement 2#32F0A9
Triadic 1#D8F032
Triadic 2#32D8F0
Tetradic#F0A932

RGB percentages

Red94.1%
Green19.6%
Blue84.7%

CMYK percentages

Cyan0.0%
Magenta79.2%
Yellow10.0%
Key (black)5.9%

Color previews

#f032d8 text on a black background

contrast 6.15:1

Card sample

#f032d8 text on a white background

contrast 3.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f032d8

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.

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

#f032d8, answered

What color is #f032d8?

#f032d8 is a balanced electric magenta / pink, closest to Magenta (ΔE2000 5.1). It sits at 308° on the hue wheel with 86% saturation and 57% lightness, which reads as neutral.

What is the RGB value of #f032d8?

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

Is #f032d8 a light or a dark color?

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

Should I use black or white text on #f032d8?

Black. It scores 6.15:1 against #f032d8, versus 3.41:1 for white — AA at any size.

What is the complementary color of #f032d8?

#32F04A sits directly opposite on the wheel. Softer options are the split-complements #79F032 and #32F0A9, which give the same contrast with far less vibration.

What colors go well with #f032d8?

For interface work: #FAF4FA as the surface, #EDC0E7 for borders, #9B4B91 for secondary text, #21C20A as an accent and #770969 for hover and pressed states. For a palette, the analogous pair #A932F0 and #F03279 stays calm, while #32F04A is the loudest partner.

What is #f032d8 in CMYK for printing?

cmyk(0%, 79%, 10%, 6%). 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 #f032d8 warm or cool?

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

Work with #f032d8 in the Color Lab