Skip to content

#f587ba

a light, electric magenta / pink · warm · closest name: Hot Pink

RGB
245, 135, 186
HSL
332°, 85%, 75%
CMYK
0, 45, 24, 4
Luminance
0.4029

At a glance

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

Hex
#f587ba
Hue
332°
magenta / pink
Saturation
85%
electric
Lightness
75%
light
Brightness
96%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4029
WCAG relative
Temperature
Warm
32/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
9.06:1
Closest name
Hot Pink
ΔE2000 5.7
Where it sits
Hue332° of 360°
Saturation85%
Lightness75%
Temperature
Warm ← → Cool32% 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#f587ba
RGBrgb(245, 135, 186)
HSLhsl(332, 85%, 75%)
CMYKcmyk(0%, 45%, 24%, 4%)
LABlab(69.7 47.8 -7.9)
LCHlch(69.7 48.5 350.6)
OKLCHoklch(0.757 0.145 351.9)
Decimal16091066
Display P3color(display-p3 0.961 0.529 0.729)

Copy-ready code

/* CSS */
color: #f587ba;
background-color: #f587ba;
/* Tailwind (arbitrary) */
class="text-[#f587ba] bg-[#f587ba]"
/* SCSS */
$brand: #f587ba;
/* SwiftUI */
Color(red: 0.961, green: 0.529, blue: 0.729)
/* Android */
Color.parseColor("#f587ba")
/* Flutter */
Color(0xFFF587BA)
/* Python / OpenCV (BGR) */
(186, 135, 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 #f587ba · 9.06:1
Use #000000AAA at every size.
Aa
White text · 2.32:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.06:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f587ba as text scores 2.32:1 on white and 9.06:1 on black.

Accessibility — WCAG contrast

Aa
#f587ba on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#f587ba on black: 9.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #939EBC
deuteranopia · #B0B1B7
tritanopia · #FF839A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f587ba is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF2F7
#FAE6EF
#F7C5DC
#f587ba
#F264A6
#EE3088
#E21373
#BC1060
#970D4D
#6D0E3A
#440824
Base = 300Lightest = 50 · #FCF2F7Darkest = 950 · #440824
:root {
  --brand-50: #FCF2F7;
  --brand-100: #FAE6EF;
  --brand-200: #F7C5DC;
  --brand-300: #f587ba;
  --brand-400: #F264A6;
  --brand-500: #EE3088;
  --brand-600: #E21373;
  --brand-700: #BC1060;
  --brand-800: #970D4D;
  --brand-900: #6D0E3A;
  --brand-950: #440824;
  --brand: #f587ba;
  --brand-ink: #000000;
}

Colors that work with #f587ba

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#EDC0D5
Hairlines and dividers
Muted text#9B4B70
Captions on the surface
Accent#0BC13F
Second voice, not a rival
Dark variant#760A3C
Hover, pressed, headers
Light variant#FDE7F1
Selected rows, tints
Dark surface#24141B
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 #f587ba

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
  • Card and section backgrounds
  • 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
  • White text placed on it
  • 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#87F5C2
Analogous left#F587F1
Analogous right#F58B87
Split-complement 1#87F58B
Split-complement 2#87F1F5
Triadic 1#BAF587
Triadic 2#87BAF5
Tetradic#F1F587

RGB percentages

Red96.1%
Green52.9%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta44.9%
Yellow24.1%
Key (black)3.9%

Color previews

#f587ba text on a black background

contrast 9.06:1

Card sample

#f587ba text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f587ba

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.

#f587ba 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
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#f587ba, answered

What color is #f587ba?

#f587ba is a light electric magenta / pink, closest to Hot Pink (ΔE2000 5.7). It sits at 332° on the hue wheel with 85% saturation and 75% lightness, which reads as warm.

What is the RGB value of #f587ba?

rgb(245, 135, 186) — 245 red, 135 green and 186 blue out of 255, or 96.1% / 52.9% / 72.9% by channel.

Is #f587ba a light or a dark color?

It is a mid-tone. Relative luminance is 0.4029 and perceived brightness is 71%, so black text on it reaches 9.06:1.

Should I use black or white text on #f587ba?

Black. It scores 9.06:1 against #f587ba, versus 2.32:1 for white — AAA at any size.

What is the complementary color of #f587ba?

#87F5C2 sits directly opposite on the wheel. Softer options are the split-complements #87F58B and #87F1F5, which give the same contrast with far less vibration.

What colors go well with #f587ba?

For interface work: #FAF4F7 as the surface, #EDC0D5 for borders, #9B4B70 for secondary text, #0BC13F as an accent and #760A3C for hover and pressed states. For a palette, the analogous pair #F587F1 and #F58B87 stays calm, while #87F5C2 is the loudest partner.

What is #f587ba in CMYK for printing?

cmyk(0%, 45%, 24%, 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 #f587ba warm or cool?

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

Work with #f587ba in the Color Lab