Skip to content

#f54589

a balanced, electric magenta / pink · warm · closest name: Deep Pink

RGB
245, 69, 137
HSL
337°, 90%, 62%
CMYK
0, 72, 44, 4
Luminance
0.2547

At a glance

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

Hex
#f54589
Hue
337°
magenta / pink
Saturation
90%
electric
Lightness
62%
balanced
Brightness
96%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2547
WCAG relative
Temperature
Warm
30/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.09:1
Closest name
Deep Pink
ΔE2000 4.6
Where it sits
Hue337° of 360°
Saturation90%
Lightness62%
Temperature
Warm ← → Cool30% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#f54589
RGBrgb(245, 69, 137)
HSLhsl(337, 90%, 62%)
CMYKcmyk(0%, 72%, 44%, 4%)
LABlab(57.5 70.7 2.3)
LCHlch(57.5 70.7 1.9)
OKLCHoklch(0.662 0.217 1.8)
Decimal16074121
Display P3color(display-p3 0.961 0.271 0.537)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f54589 on white: 3.45:1
AA ✗ fail · AA-large · AAA
Aa
#f54589 on black: 6.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6C748B
deuteranopia · #9B9785
tritanopia · #FF2762

Color scale — 50 to 950

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

#FDF2F6
#FBE5ED
#F8C3D8
#F995BB
#f54589
#F42A78
#E80C61
#C20A51
#9B0841
#700B32
#46071F
Base = 400Lightest = 50 · #FDF2F6Darkest = 950 · #46071F
:root {
  --brand-50: #FDF2F6;
  --brand-100: #FBE5ED;
  --brand-200: #F8C3D8;
  --brand-300: #F995BB;
  --brand-400: #f54589;
  --brand-500: #F42A78;
  --brand-600: #E80C61;
  --brand-700: #C20A51;
  --brand-800: #9B0841;
  --brand-900: #700B32;
  --brand-950: #46071F;
  --brand: #f54589;
  --brand-ink: #000000;
}

Colors that work with #f54589

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#FAF4F7
Tinted page background
Border#EDC0D1
Hairlines and dividers
Muted text#9B4B6A
Captions on the surface
Accent#06C64C
Second voice, not a rival
Dark variant#790733
Hover, pressed, headers
Light variant#FEE7F0
Selected rows, tints
Dark surface#24141A
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 #f54589

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#45F5B1
Analogous left#F545E1
Analogous right#F55945
Split-complement 1#45F559
Split-complement 2#45E1F5
Triadic 1#89F545
Triadic 2#4589F5
Tetradic#E1F545

RGB percentages

Red96.1%
Green27.1%
Blue53.7%

CMYK percentages

Cyan0.0%
Magenta71.8%
Yellow44.1%
Key (black)3.9%

Color previews

#f54589 text on a black background

contrast 6.09:1

Card sample

#f54589 text on a white background

contrast 3.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f54589

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.

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

#f54589, answered

What color is #f54589?

#f54589 is a balanced electric magenta / pink, closest to Deep Pink (ΔE2000 4.6). It sits at 337° on the hue wheel with 90% saturation and 62% lightness, which reads as warm.

What is the RGB value of #f54589?

rgb(245, 69, 137) — 245 red, 69 green and 137 blue out of 255, or 96.1% / 27.1% / 53.7% by channel.

Is #f54589 a light or a dark color?

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

Should I use black or white text on #f54589?

Black. It scores 6.09:1 against #f54589, versus 3.45:1 for white — AA at any size.

What is the complementary color of #f54589?

#45F5B1 sits directly opposite on the wheel. Softer options are the split-complements #45F559 and #45E1F5, which give the same contrast with far less vibration.

What colors go well with #f54589?

For interface work: #FAF4F7 as the surface, #EDC0D1 for borders, #9B4B6A for secondary text, #06C64C as an accent and #790733 for hover and pressed states. For a palette, the analogous pair #F545E1 and #F55945 stays calm, while #45F5B1 is the loudest partner.

What is #f54589 in CMYK for printing?

cmyk(0%, 72%, 44%, 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 #f54589 warm or cool?

Warm — it scores 30 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F54549; nudged cooler, #F743CB.

Work with #f54589 in the Color Lab