Skip to content

#f54bdf

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

RGB
245, 75, 223
HSL
308°, 90%, 63%
CMYK
0, 69, 9, 4
Luminance
0.2977

At a glance

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

Hex
#f54bdf
Hue
308°
magenta / pink
Saturation
90%
electric
Lightness
63%
balanced
Brightness
96%
HSV value
Perceived
64%
weighted brightness
Luminance
0.2977
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.95:1
Closest name
Magenta
ΔE2000 5.4
Where it sits
Hue308° of 360°
Saturation90%
Lightness63%
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#f54bdf
RGBrgb(245, 75, 223)
HSLhsl(308, 90%, 63%)
CMYKcmyk(0%, 69%, 9%, 4%)
LABlab(61.5 78.9 -41.3)
LCHlch(61.5 89.1 332.4)
OKLCHoklch(0.701 0.255 333.7)
Decimal16075743
Display P3color(display-p3 0.961 0.294 0.875)

Copy-ready code

/* CSS */
color: #f54bdf;
background-color: #f54bdf;
/* Tailwind (arbitrary) */
class="text-[#f54bdf] bg-[#f54bdf]"
/* SCSS */
$brand: #f54bdf;
/* SwiftUI */
Color(red: 0.961, green: 0.294, blue: 0.875)
/* Android */
Color.parseColor("#f54bdf")
/* Flutter */
Color(0xFFF54BDF)
/* Python / OpenCV (BGR) */
(223, 75, 245)

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

Accessibility — WCAG contrast

Aa
#f54bdf on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#f54bdf on black: 6.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4685E3
deuteranopia · #839DDB
tritanopia · #FF5A90

Color scale — 50 to 950

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

#FDF2FB
#FBE5F8
#F8C3F1
#F995EC
#f54bdf
#F32AD9
#E80DCB
#C10BAA
#9B0988
#700B62
#46073E
Base = 400Lightest = 50 · #FDF2FBDarkest = 950 · #46073E
:root {
  --brand-50: #FDF2FB;
  --brand-100: #FBE5F8;
  --brand-200: #F8C3F1;
  --brand-300: #F995EC;
  --brand-400: #f54bdf;
  --brand-500: #F32AD9;
  --brand-600: #E80DCB;
  --brand-700: #C10BAA;
  --brand-800: #9B0988;
  --brand-900: #700B62;
  --brand-950: #46073E;
  --brand: #f54bdf;
  --brand-ink: #000000;
}

Colors that work with #f54bdf

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#9B4B90
Captions on the surface
Accent#1DC606
Second voice, not a rival
Dark variant#79076A
Hover, pressed, headers
Light variant#FEE7FB
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 #f54bdf

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#4BF561
Analogous left#B64BF5
Analogous right#F54B8A
Split-complement 1#8AF54B
Split-complement 2#4BF5B6
Triadic 1#DFF54B
Triadic 2#4BDFF5
Tetradic#F5B64B

RGB percentages

Red96.1%
Green29.4%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta69.4%
Yellow9.0%
Key (black)3.9%

Color previews

#f54bdf text on a black background

contrast 6.95:1

Card sample

#f54bdf text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(245, 75, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(245, 75, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f54bdf;
background: linear-gradient(135deg, #f54bdf, #F54B6D);

Monochromatic scale

Palettes built from #f54bdf

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.

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

#f54bdf, answered

What color is #f54bdf?

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

What is the RGB value of #f54bdf?

rgb(245, 75, 223) — 245 red, 75 green and 223 blue out of 255, or 96.1% / 29.4% / 87.5% by channel.

Is #f54bdf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2977 and perceived brightness is 64%, so black text on it reaches 6.95:1.

Should I use black or white text on #f54bdf?

Black. It scores 6.95:1 against #f54bdf, versus 3.02:1 for white — AA at any size.

What is the complementary color of #f54bdf?

#4BF561 sits directly opposite on the wheel. Softer options are the split-complements #8AF54B and #4BF5B6, which give the same contrast with far less vibration.

What colors go well with #f54bdf?

For interface work: #FAF4FA as the surface, #EDC0E7 for borders, #9B4B90 for secondary text, #1DC606 as an accent and #79076A for hover and pressed states. For a palette, the analogous pair #B64BF5 and #F54B8A stays calm, while #4BF561 is the loudest partner.

What is #f54bdf in CMYK for printing?

cmyk(0%, 69%, 9%, 4%). 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 #f54bdf 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 #F54BA0; nudged cooler, #CE49F7.

Work with #f54bdf in the Color Lab