Skip to content

#f24cfd

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

RGB
242, 76, 253
HSL
296°, 98%, 65%
CMYK
4, 70, 0, 1
Luminance
0.3114

At a glance

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

Hex
#f24cfd
Hue
296°
magenta / pink
Saturation
98%
electric
Lightness
65%
balanced
Brightness
99%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3114
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.23:1
Closest name
Magenta
ΔE2000 3.7
Where it sits
Hue296° of 360°
Saturation98%
Lightness65%
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#f24cfd
RGBrgb(242, 76, 253)
HSLhsl(296, 98%, 65%)
CMYKcmyk(4%, 70%, 0%, 1%)
LABlab(62.6 82.6 -56.2)
LCHlch(62.6 99.9 325.8)
OKLCHoklch(0.714 0.274 325.3)
Decimal15879421
Display P3color(display-p3 0.949 0.298 0.992)

Copy-ready code

/* CSS */
color: #f24cfd;
background-color: #f24cfd;
/* Tailwind (arbitrary) */
class="text-[#f24cfd] bg-[#f24cfd]"
/* SCSS */
$brand: #f24cfd;
/* SwiftUI */
Color(red: 0.949, green: 0.298, blue: 0.992)
/* Android */
Color.parseColor("#f24cfd")
/* Flutter */
Color(0xFFF24CFD)
/* Python / OpenCV (BGR) */
(253, 76, 242)

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

Accessibility — WCAG contrast

Aa
#f24cfd on white: 2.91:1
AA ✗ fail · AA-large · AAA
Aa
#f24cfd on black: 7.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #1A8AFF
deuteranopia · #719EF9
tritanopia · #F769A0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f24cfd 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
#F790FE
#f24cfd
#EF21FD
#E303F2
#BD02CA
#9802A1
#6D0674
#440449
Base = 400Lightest = 50 · #FDF1FDDarkest = 950 · #440449
:root {
  --brand-50: #FDF1FD;
  --brand-100: #FAE3FC;
  --brand-200: #F7C1FB;
  --brand-300: #F790FE;
  --brand-400: #f24cfd;
  --brand-500: #EF21FD;
  --brand-600: #E303F2;
  --brand-700: #BD02CA;
  --brand-800: #9802A1;
  --brand-900: #6D0674;
  --brand-950: #440449;
  --brand: #f24cfd;
  --brand-ink: #000000;
}

Colors that work with #f24cfd

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#964B9B
Captions on the surface
Accent#3FCC00
Second voice, not a rival
Dark variant#76017E
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 #f24cfd

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#57FD4C
Analogous left#9A4CFD
Analogous right#FD4CAF
Split-complement 1#AFFD4C
Split-complement 2#4CFD9A
Triadic 1#FDF24C
Triadic 2#4CFDF2
Tetradic#FD9A4C

RGB percentages

Red94.9%
Green29.8%
Blue99.2%

CMYK percentages

Cyan4.3%
Magenta70.0%
Yellow0.0%
Key (black)0.8%

Color previews

#f24cfd text on a black background

contrast 7.23:1

Card sample

#f24cfd text on a white background

contrast 2.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f24cfd

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.

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

#f24cfd, answered

What color is #f24cfd?

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

What is the RGB value of #f24cfd?

rgb(242, 76, 253) — 242 red, 76 green and 253 blue out of 255, or 94.9% / 29.8% / 99.2% by channel.

Is #f24cfd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3114 and perceived brightness is 66%, so black text on it reaches 7.23:1.

Should I use black or white text on #f24cfd?

Black. It scores 7.23:1 against #f24cfd, versus 2.91:1 for white — AAA at any size.

What is the complementary color of #f24cfd?

#57FD4C sits directly opposite on the wheel. Softer options are the split-complements #AFFD4C and #4CFD9A, which give the same contrast with far less vibration.

What colors go well with #f24cfd?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #964B9B for secondary text, #3FCC00 as an accent and #76017E for hover and pressed states. For a palette, the analogous pair #9A4CFD and #FD4CAF stays calm, while #57FD4C is the loudest partner.

What is #f24cfd in CMYK for printing?

cmyk(4%, 70%, 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 #f24cfd 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 #FD4CC7; nudged cooler, #B14AFF.

Work with #f24cfd in the Color Lab