Skip to content

#f024c5

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

RGB
240, 36, 197
HSL
313°, 87%, 54%
CMYK
0, 85, 18, 6
Luminance
0.2382

At a glance

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

Hex
#f024c5
Hue
313°
magenta / pink
Saturation
87%
electric
Lightness
54%
balanced
Brightness
94%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2382
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.76:1
Closest name
Magenta
ΔE2000 7.9
Where it sits
Hue313° of 360°
Saturation87%
Lightness54%
Temperature
Warm ← → Cool43% 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#f024c5
RGBrgb(240, 36, 197)
HSLhsl(313, 87%, 54%)
CMYKcmyk(0%, 85%, 18%, 6%)
LABlab(55.9 84.4 -35.3)
LCHlch(55.9 91.5 337.3)
OKLCHoklch(0.656 0.270 339.2)
Decimal15738053
Display P3color(display-p3 0.941 0.141 0.773)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f024c5 on white: 3.64:1
AA ✗ fail · AA-large · AAA
Aa
#f024c5 on black: 5.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3672C9
deuteranopia · #7E91C1
tritanopia · #FE3177

Color scale — 50 to 950

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

#FDF2FA
#FAE5F6
#F7C4ED
#F896E3
#F461D5
#f024c5
#E510B8
#BF0D9A
#990A7B
#6E0C5A
#450838
Base = 500Lightest = 50 · #FDF2FADarkest = 950 · #450838
:root {
  --brand-50: #FDF2FA;
  --brand-100: #FAE5F6;
  --brand-200: #F7C4ED;
  --brand-300: #F896E3;
  --brand-400: #F461D5;
  --brand-500: #f024c5;
  --brand-600: #E510B8;
  --brand-700: #BF0D9A;
  --brand-800: #990A7B;
  --brand-900: #6E0C5A;
  --brand-950: #450838;
  --brand: #f024c5;
  --brand-ink: #000000;
}

Colors that work with #f024c5

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#FAF4F9
Tinted page background
Border#EDC0E3
Hairlines and dividers
Muted text#9B4B8A
Captions on the surface
Accent#10C309
Second voice, not a rival
Dark variant#770860
Hover, pressed, headers
Light variant#FDE7F9
Selected rows, tints
Dark surface#241421
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 #f024c5

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#24F04F
Analogous left#B524F0
Analogous right#F0245F
Split-complement 1#5FF024
Split-complement 2#24F0B5
Triadic 1#C5F024
Triadic 2#24C5F0
Tetradic#F0B524

RGB percentages

Red94.1%
Green14.1%
Blue77.3%

CMYK percentages

Cyan0.0%
Magenta85.0%
Yellow17.9%
Key (black)5.9%

Color previews

#f024c5 text on a black background

contrast 5.76:1

Card sample

#f024c5 text on a white background

contrast 3.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f024c5

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.

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

#f024c5, answered

What color is #f024c5?

#f024c5 is a balanced electric magenta / pink, closest to Magenta (ΔE2000 7.9). It sits at 313° on the hue wheel with 87% saturation and 54% lightness, which reads as neutral.

What is the RGB value of #f024c5?

rgb(240, 36, 197) — 240 red, 36 green and 197 blue out of 255, or 94.1% / 14.1% / 77.3% by channel.

Is #f024c5 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2382 and perceived brightness is 59%, so black text on it reaches 5.76:1.

Should I use black or white text on #f024c5?

Black. It scores 5.76:1 against #f024c5, versus 3.64:1 for white — AA at any size.

What is the complementary color of #f024c5?

#24F04F sits directly opposite on the wheel. Softer options are the split-complements #5FF024 and #24F0B5, which give the same contrast with far less vibration.

What colors go well with #f024c5?

For interface work: #FAF4F9 as the surface, #EDC0E3 for borders, #9B4B8A for secondary text, #10C309 as an accent and #770860 for hover and pressed states. For a palette, the analogous pair #B524F0 and #F0245F stays calm, while #24F04F is the loudest partner.

What is #f024c5 in CMYK for printing?

cmyk(0%, 85%, 18%, 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 #f024c5 warm or cool?

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

Work with #f024c5 in the Color Lab