Skip to content

#f05dbf

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

RGB
240, 93, 191
HSL
320°, 83%, 65%
CMYK
0, 61, 20, 6
Luminance
0.3012

At a glance

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

Hex
#f05dbf
Hue
320°
magenta / pink
Saturation
83%
electric
Lightness
65%
light
Brightness
94%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3012
WCAG relative
Temperature
Warm
39/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.02:1
Closest name
Hot Pink
ΔE2000 5.7
Where it sits
Hue320° of 360°
Saturation83%
Lightness65%
Temperature
Warm ← → Cool39% 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#f05dbf
RGBrgb(240, 93, 191)
HSLhsl(320, 83%, 65%)
CMYKcmyk(0%, 61%, 20%, 6%)
LABlab(61.8 66.5 -22.8)
LCHlch(61.8 70.2 341.1)
OKLCHoklch(0.698 0.208 343.0)
Decimal15752639
Display P3color(display-p3 0.941 0.365 0.749)

Copy-ready code

/* CSS */
color: #f05dbf;
background-color: #f05dbf;
/* Tailwind (arbitrary) */
class="text-[#f05dbf] bg-[#f05dbf]"
/* SCSS */
$brand: #f05dbf;
/* SwiftUI */
Color(red: 0.941, green: 0.365, blue: 0.749)
/* Android */
Color.parseColor("#f05dbf")
/* Flutter */
Color(0xFFF05DBF)
/* Python / OpenCV (BGR) */
(191, 93, 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 #f05dbf · 7.02:1
Use #000000AAA at every size.
Aa
White text · 2.99:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.02:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f05dbf as text scores 2.99:1 on white and 7.02:1 on black.

Accessibility — WCAG contrast

Aa
#f05dbf on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#f05dbf on black: 7.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6986C2
deuteranopia · #949EBB
tritanopia · #FE5D86

Color scale — 50 to 950

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

#FCF2F9
#FAE6F3
#F6C6E6
#F698D6
#f05dbf
#EC32AE
#E0159C
#BB1182
#950E68
#6C0E4D
#430930
Base = 400Lightest = 50 · #FCF2F9Darkest = 950 · #430930
:root {
  --brand-50: #FCF2F9;
  --brand-100: #FAE6F3;
  --brand-200: #F6C6E6;
  --brand-300: #F698D6;
  --brand-400: #f05dbf;
  --brand-500: #EC32AE;
  --brand-600: #E0159C;
  --brand-700: #BB1182;
  --brand-800: #950E68;
  --brand-900: #6C0E4D;
  --brand-950: #430930;
  --brand: #f05dbf;
  --brand-ink: #000000;
}

Colors that work with #f05dbf

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#EDC0DE
Hairlines and dividers
Muted text#9B4B80
Captions on the surface
Accent#0DBF1C
Second voice, not a rival
Dark variant#750B51
Hover, pressed, headers
Light variant#FDE8F6
Selected rows, tints
Dark surface#24141F
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 #f05dbf

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#5DF08E
Analogous left#D85DF0
Analogous right#F05D75
Split-complement 1#75F05D
Split-complement 2#5DF0D8
Triadic 1#BFF05D
Triadic 2#5DBFF0
Tetradic#F0D85D

RGB percentages

Red94.1%
Green36.5%
Blue74.9%

CMYK percentages

Cyan0.0%
Magenta61.2%
Yellow20.4%
Key (black)5.9%

Color previews

#f05dbf text on a black background

contrast 7.02:1

Card sample

#f05dbf text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f05dbf

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.

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

#f05dbf, answered

What color is #f05dbf?

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

What is the RGB value of #f05dbf?

rgb(240, 93, 191) — 240 red, 93 green and 191 blue out of 255, or 94.1% / 36.5% / 74.9% by channel.

Is #f05dbf a light or a dark color?

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

Should I use black or white text on #f05dbf?

Black. It scores 7.02:1 against #f05dbf, versus 2.99:1 for white — AAA at any size.

What is the complementary color of #f05dbf?

#5DF08E sits directly opposite on the wheel. Softer options are the split-complements #75F05D and #5DF0D8, which give the same contrast with far less vibration.

What colors go well with #f05dbf?

For interface work: #FAF4F8 as the surface, #EDC0DE for borders, #9B4B80 for secondary text, #0DBF1C as an accent and #750B51 for hover and pressed states. For a palette, the analogous pair #D85DF0 and #F05D75 stays calm, while #5DF08E is the loudest partner.

What is #f05dbf in CMYK for printing?

cmyk(0%, 61%, 20%, 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 #f05dbf warm or cool?

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

Work with #f05dbf in the Color Lab