Skip to content

#f081df

a light, electric magenta / pink · neutral · closest name: Violet

RGB
240, 129, 223
HSL
309°, 79%, 72%
CMYK
0, 46, 7, 6
Luminance
0.3955

At a glance

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

Hex
#f081df
Hue
309°
magenta / pink
Saturation
79%
electric
Lightness
72%
light
Brightness
94%
HSV value
Perceived
71%
weighted brightness
Luminance
0.3955
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
8.91:1
Closest name
Violet
ΔE2000 2.9
Where it sits
Hue309° of 360°
Saturation79%
Lightness72%
Temperature
Warm ← → Cool45% 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#f081df
RGBrgb(240, 129, 223)
HSLhsl(309, 79%, 72%)
CMYKcmyk(0%, 46%, 7%, 6%)
LABlab(69.2 54.9 -29.4)
LCHlch(69.2 62.2 331.8)
OKLCHoklch(0.756 0.176 333.1)
Decimal15761887
Display P3color(display-p3 0.941 0.506 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f081df on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#f081df on black: 8.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7F9FE2
deuteranopia · #9EAFDC
tritanopia · #F988A6

Color scale — 50 to 950

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

#FCF3FB
#F9E6F6
#F5C7EE
#F39BE6
#f081df
#E736CC
#DB1ABD
#B6169E
#92117E
#6A115C
#420B39
Base = 400Lightest = 50 · #FCF3FBDarkest = 950 · #420B39
:root {
  --brand-50: #FCF3FB;
  --brand-100: #F9E6F6;
  --brand-200: #F5C7EE;
  --brand-300: #F39BE6;
  --brand-400: #f081df;
  --brand-500: #E736CC;
  --brand-600: #DB1ABD;
  --brand-700: #B6169E;
  --brand-800: #92117E;
  --brand-900: #6A115C;
  --brand-950: #420B39;
  --brand: #f081df;
  --brand-ink: #000000;
}

Colors that work with #f081df

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#FAF4F9
Tinted page background
Border#EDC0E6
Hairlines and dividers
Muted text#9B4B8F
Captions on the surface
Accent#23BB11
Second voice, not a rival
Dark variant#720E63
Hover, pressed, headers
Light variant#FCE8F9
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 #f081df

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#81F092
Analogous left#CA81F0
Analogous right#F081A8
Split-complement 1#A8F081
Split-complement 2#81F0CA
Triadic 1#DFF081
Triadic 2#81DFF0
Tetradic#F0CA81

RGB percentages

Red94.1%
Green50.6%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta46.3%
Yellow7.1%
Key (black)5.9%

Color previews

#f081df text on a black background

contrast 8.91:1

Card sample

#f081df text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f081df

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.

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

#f081df, answered

What color is #f081df?

#f081df is a light electric magenta / pink, closest to Violet (ΔE2000 2.9). It sits at 309° on the hue wheel with 79% saturation and 72% lightness, which reads as neutral.

What is the RGB value of #f081df?

rgb(240, 129, 223) — 240 red, 129 green and 223 blue out of 255, or 94.1% / 50.6% / 87.5% by channel.

Is #f081df a light or a dark color?

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

Should I use black or white text on #f081df?

Black. It scores 8.91:1 against #f081df, versus 2.36:1 for white — AAA at any size.

What is the complementary color of #f081df?

#81F092 sits directly opposite on the wheel. Softer options are the split-complements #A8F081 and #81F0CA, which give the same contrast with far less vibration.

What colors go well with #f081df?

For interface work: #FAF4F9 as the surface, #EDC0E6 for borders, #9B4B8F for secondary text, #23BB11 as an accent and #720E63 for hover and pressed states. For a palette, the analogous pair #CA81F0 and #F081A8 stays calm, while #81F092 is the loudest partner.

What is #f081df in CMYK for printing?

cmyk(0%, 46%, 7%, 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 #f081df warm or cool?

Neutral — it scores 45 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F081B6; nudged cooler, #D980F1.

Work with #f081df in the Color Lab