Skip to content

#f751ba

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

RGB
247, 81, 186
HSL
322°, 91%, 64%
CMYK
0, 67, 25, 3
Luminance
0.2920

At a glance

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

Hex
#f751ba
Hue
322°
magenta / pink
Saturation
91%
electric
Lightness
64%
balanced
Brightness
97%
HSV value
Perceived
63%
weighted brightness
Luminance
0.2920
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.84:1
Closest name
Hot Pink
ΔE2000 5.6
Where it sits
Hue322° of 360°
Saturation91%
Lightness64%
Temperature
Warm ← → Cool38% 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#f751ba
RGBrgb(247, 81, 186)
HSLhsl(322, 91%, 64%)
CMYKcmyk(0%, 67%, 25%, 3%)
LABlab(61.0 72.3 -21.0)
LCHlch(61.0 75.3 343.8)
OKLCHoklch(0.693 0.226 345.7)
Decimal16208314
Display P3color(display-p3 0.969 0.318 0.729)

Copy-ready code

/* CSS */
color: #f751ba;
background-color: #f751ba;
/* Tailwind (arbitrary) */
class="text-[#f751ba] bg-[#f751ba]"
/* SCSS */
$brand: #f751ba;
/* SwiftUI */
Color(red: 0.969, green: 0.318, blue: 0.729)
/* Android */
Color.parseColor("#f751ba")
/* Flutter */
Color(0xFFF751BA)
/* Python / OpenCV (BGR) */
(186, 81, 247)

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

Accessibility — WCAG contrast

Aa
#f751ba on white: 3.07:1
AA ✗ fail · AA-large · AAA
Aa
#f751ba on black: 6.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6481BD
deuteranopia · #959DB6
tritanopia · #FF4E7F

Color scale — 50 to 950

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

#FDF2F9
#FBE5F3
#F9C3E5
#FA94D5
#f751ba
#F528AA
#EA0B98
#C3097F
#9C0765
#710A4B
#46062F
Base = 400Lightest = 50 · #FDF2F9Darkest = 950 · #46062F
:root {
  --brand-50: #FDF2F9;
  --brand-100: #FBE5F3;
  --brand-200: #F9C3E5;
  --brand-300: #FA94D5;
  --brand-400: #f751ba;
  --brand-500: #F528AA;
  --brand-600: #EA0B98;
  --brand-700: #C3097F;
  --brand-800: #9C0765;
  --brand-900: #710A4B;
  --brand-950: #46062F;
  --brand: #f751ba;
  --brand-ink: #000000;
}

Colors that work with #f751ba

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#FAF4F8
Tinted page background
Border#EDC0DC
Hairlines and dividers
Muted text#9B4B7D
Captions on the surface
Accent#04C81C
Second voice, not a rival
Dark variant#7A064F
Hover, pressed, headers
Light variant#FEE7F5
Selected rows, tints
Dark surface#24141E
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 #f751ba

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#51F78E
Analogous left#E151F7
Analogous right#F75167
Split-complement 1#67F751
Split-complement 2#51F7E1
Triadic 1#BAF751
Triadic 2#51BAF7
Tetradic#F7E151

RGB percentages

Red96.9%
Green31.8%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta67.2%
Yellow24.7%
Key (black)3.1%

Color previews

#f751ba text on a black background

contrast 6.84:1

Card sample

#f751ba text on a white background

contrast 3.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f751ba

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.

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

#f751ba, answered

What color is #f751ba?

#f751ba is a balanced electric magenta / pink, closest to Hot Pink (ΔE2000 5.6). It sits at 322° on the hue wheel with 91% saturation and 64% lightness, which reads as warm.

What is the RGB value of #f751ba?

rgb(247, 81, 186) — 247 red, 81 green and 186 blue out of 255, or 96.9% / 31.8% / 72.9% by channel.

Is #f751ba a light or a dark color?

It is a mid-tone. Relative luminance is 0.2920 and perceived brightness is 63%, so black text on it reaches 6.84:1.

Should I use black or white text on #f751ba?

Black. It scores 6.84:1 against #f751ba, versus 3.07:1 for white — AA at any size.

What is the complementary color of #f751ba?

#51F78E sits directly opposite on the wheel. Softer options are the split-complements #67F751 and #51F7E1, which give the same contrast with far less vibration.

What colors go well with #f751ba?

For interface work: #FAF4F8 as the surface, #EDC0DC for borders, #9B4B7D for secondary text, #04C81C as an accent and #7A064F for hover and pressed states. For a palette, the analogous pair #E151F7 and #F75167 stays calm, while #51F78E is the loudest partner.

What is #f751ba in CMYK for printing?

cmyk(0%, 67%, 25%, 3%). 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 #f751ba warm or cool?

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

Work with #f751ba in the Color Lab