Skip to content

#ff9df4

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

RGB
255, 157, 244
HSL
307°, 100%, 81%
CMYK
0, 38, 4, 0
Luminance
0.5191

At a glance

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

Hex
#ff9df4
Hue
307°
magenta / pink
Saturation
100%
electric
Lightness
81%
light
Brightness
100%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5191
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
11.38:1
Closest name
Plum
ΔE2000 6.4
Where it sits
Hue307° of 360°
Saturation100%
Lightness81%
Temperature
Warm ← → Cool46% 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#ff9df4
RGBrgb(255, 157, 244)
HSLhsl(307, 100%, 81%)
CMYKcmyk(0%, 38%, 4%, 0%)
LABlab(77.2 48.9 -28.3)
LCHlch(77.2 56.5 329.9)
OKLCHoklch(0.823 0.158 331.0)
Decimal16752116
Display P3color(display-p3 1.000 0.616 0.957)

Copy-ready code

/* CSS */
color: #ff9df4;
background-color: #ff9df4;
/* Tailwind (arbitrary) */
class="text-[#ff9df4] bg-[#ff9df4]"
/* SCSS */
$brand: #ff9df4;
/* SwiftUI */
Color(red: 1.000, green: 0.616, blue: 0.957)
/* Android */
Color.parseColor("#ff9df4")
/* Flutter */
Color(0xFFFF9DF4)
/* Python / OpenCV (BGR) */
(244, 157, 255)

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

Accessibility — WCAG contrast

Aa
#ff9df4 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#ff9df4 on black: 11.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9AB6F7
deuteranopia · #B3C4F1
tritanopia · #FFA4BE

Color scale — 50 to 950

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

#FEF1FC
#FCE3F9
#FCC0F5
#ff9df4
#FF57EC
#FF1FE6
#F500D9
#CC00B5
#A30091
#760569
#490342
Base = 300Lightest = 50 · #FEF1FCDarkest = 950 · #490342
:root {
  --brand-50: #FEF1FC;
  --brand-100: #FCE3F9;
  --brand-200: #FCC0F5;
  --brand-300: #ff9df4;
  --brand-400: #FF57EC;
  --brand-500: #FF1FE6;
  --brand-600: #F500D9;
  --brand-700: #CC00B5;
  --brand-800: #A30091;
  --brand-900: #760569;
  --brand-950: #490342;
  --brand: #ff9df4;
  --brand-ink: #000000;
}

Colors that work with #ff9df4

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#FAF4FA
Tinted page background
Border#EDC0E8
Hairlines and dividers
Muted text#9B4B92
Captions on the surface
Accent#1DCC00
Second voice, not a rival
Dark variant#800071
Hover, pressed, headers
Light variant#FFE5FC
Selected rows, tints
Dark surface#241423
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 #ff9df4

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#9DFFA8
Analogous left#D99DFF
Analogous right#FF9DC3
Split-complement 1#C3FF9D
Split-complement 2#9DFFD9
Triadic 1#F4FF9D
Triadic 2#9DF4FF
Tetradic#FFD99D

RGB percentages

Red100.0%
Green61.6%
Blue95.7%

CMYK percentages

Cyan0.0%
Magenta38.4%
Yellow4.3%
Key (black)0.0%

Color previews

#ff9df4 text on a black background

contrast 11.38:1

Card sample

#ff9df4 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 157, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 157, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff9df4;
background: linear-gradient(135deg, #ff9df4, #FF9DB3);

Monochromatic scale

Palettes built from #ff9df4

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.

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

#ff9df4, answered

What color is #ff9df4?

#ff9df4 is a light electric magenta / pink, closest to Plum (ΔE2000 6.4). It sits at 307° on the hue wheel with 100% saturation and 81% lightness, which reads as neutral.

What is the RGB value of #ff9df4?

rgb(255, 157, 244) — 255 red, 157 green and 244 blue out of 255, or 100% / 61.6% / 95.7% by channel.

Is #ff9df4 a light or a dark color?

It is a light color. Relative luminance is 0.5191 and perceived brightness is 79%, so black text on it reaches 11.38:1.

Should I use black or white text on #ff9df4?

Black. It scores 11.38:1 against #ff9df4, versus 1.85:1 for white — AAA at any size.

What is the complementary color of #ff9df4?

#9DFFA8 sits directly opposite on the wheel. Softer options are the split-complements #C3FF9D and #9DFFD9, which give the same contrast with far less vibration.

What colors go well with #ff9df4?

For interface work: #FAF4FA as the surface, #EDC0E8 for borders, #9B4B92 for secondary text, #1DCC00 as an accent and #800071 for hover and pressed states. For a palette, the analogous pair #D99DFF and #FF9DC3 stays calm, while #9DFFA8 is the loudest partner.

What is #ff9df4 in CMYK for printing?

cmyk(0%, 38%, 4%, 0%). 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 #ff9df4 warm or cool?

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

Work with #ff9df4 in the Color Lab