Skip to content

#f034f3

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

RGB
240, 52, 243
HSL
299°, 89%, 58%
CMYK
1, 79, 0, 5
Luminance
0.2745

At a glance

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

Hex
#f034f3
Hue
299°
magenta / pink
Saturation
89%
electric
Lightness
58%
balanced
Brightness
95%
HSV value
Perceived
63%
weighted brightness
Luminance
0.2745
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.49:1
Closest name
Magenta
ΔE2000 2.2
Where it sits
Hue299° of 360°
Saturation89%
Lightness58%
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#f034f3
RGBrgb(240, 52, 243)
HSLhsl(299, 89%, 58%)
CMYKcmyk(1%, 79%, 0%, 5%)
LABlab(59.4 87.5 -55.8)
LCHlch(59.4 103.7 327.5)
OKLCHoklch(0.688 0.288 327.4)
Decimal15742195
Display P3color(display-p3 0.941 0.204 0.953)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f034f3 on white: 3.24:1
AA ✗ fail · AA-large · AAA
Aa
#f034f3 on black: 6.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0080F8
deuteranopia · #6A97EF
tritanopia · #F75795

Color scale — 50 to 950

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

#FDF2FD
#FAE5FB
#F7C4F8
#F795F9
#F360F6
#f034f3
#E40EE7
#BE0BC1
#98099A
#6E0B6F
#450745
Base = 500Lightest = 50 · #FDF2FDDarkest = 950 · #450745
:root {
  --brand-50: #FDF2FD;
  --brand-100: #FAE5FB;
  --brand-200: #F7C4F8;
  --brand-300: #F795F9;
  --brand-400: #F360F6;
  --brand-500: #f034f3;
  --brand-600: #E40EE7;
  --brand-700: #BE0BC1;
  --brand-800: #98099A;
  --brand-900: #6E0B6F;
  --brand-950: #450745;
  --brand: #f034f3;
  --brand-ink: #000000;
}

Colors that work with #f034f3

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#39C408
Second voice, not a rival
Dark variant#770778
Hover, pressed, headers
Light variant#FDE7FE
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 #f034f3

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#37F334
Analogous left#9134F3
Analogous right#F33496
Split-complement 1#96F334
Split-complement 2#34F391
Triadic 1#F3F034
Triadic 2#34F3F0
Tetradic#F39134

RGB percentages

Red94.1%
Green20.4%
Blue95.3%

CMYK percentages

Cyan1.2%
Magenta78.6%
Yellow0.0%
Key (black)4.7%

Color previews

#f034f3 text on a black background

contrast 6.49:1

Card sample

#f034f3 text on a white background

contrast 3.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f034f3

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.

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

#f034f3, answered

What color is #f034f3?

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

What is the RGB value of #f034f3?

rgb(240, 52, 243) — 240 red, 52 green and 243 blue out of 255, or 94.1% / 20.4% / 95.3% by channel.

Is #f034f3 a light or a dark color?

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

Should I use black or white text on #f034f3?

Black. It scores 6.49:1 against #f034f3, versus 3.24:1 for white — AA at any size.

What is the complementary color of #f034f3?

#37F334 sits directly opposite on the wheel. Softer options are the split-complements #96F334 and #34F391, which give the same contrast with far less vibration.

What colors go well with #f034f3?

For interface work: #FAF4FA as the surface, #ECC0ED for borders, #9A4B9B for secondary text, #39C408 as an accent and #770778 for hover and pressed states. For a palette, the analogous pair #9134F3 and #F33496 stays calm, while #37F334 is the loudest partner.

What is #f034f3 in CMYK for printing?

cmyk(1%, 79%, 0%, 5%). 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 #f034f3 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 #F334B0; nudged cooler, #AB32F5.

Work with #f034f3 in the Color Lab