Skip to content

#ffecf9

a pale, electric magenta / pink · warm · closest name: Lavender Blush

RGB
255, 236, 249
HSL
319°, 100%, 96%
CMYK
0, 8, 2, 0
Luminance
0.8809

At a glance

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

Hex
#ffecf9
Hue
319°
magenta / pink
Saturation
100%
electric
Lightness
96%
pale
Brightness
100%
HSV value
Perceived
95%
weighted brightness
Luminance
0.8809
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
18.62:1
Closest name
Lavender Blush
ΔE2000 3.7
Where it sits
Hue319° of 360°
Saturation100%
Lightness96%
Temperature
Warm ← → Cool40% 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#ffecf9
RGBrgb(255, 236, 249)
HSLhsl(319, 100%, 96%)
CMYKcmyk(0%, 8%, 2%, 0%)
LABlab(95.2 8.6 -3.9)
LCHlch(95.2 9.5 335.5)
OKLCHoklch(0.962 0.027 337.1)
Decimal16772345
Display P3color(display-p3 1.000 0.925 0.976)

Copy-ready code

/* CSS */
color: #ffecf9;
background-color: #ffecf9;
/* Tailwind (arbitrary) */
class="text-[#ffecf9] bg-[#ffecf9]"
/* SCSS */
$brand: #ffecf9;
/* SwiftUI */
Color(red: 1.000, green: 0.925, blue: 0.976)
/* Android */
Color.parseColor("#ffecf9")
/* Flutter */
Color(0xFFFFECF9)
/* Python / OpenCV (BGR) */
(249, 236, 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 #ffecf9 · 18.62:1
Use #000000AAA at every size.
Aa
White text · 1.13:1
AA fail · AA large fail · AAA fail
Aa
Black text · 18.62:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ffecf9 as text scores 1.13:1 on white and 18.62:1 on black.

Accessibility — WCAG contrast

Aa
#ffecf9 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#ffecf9 on black: 18.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ECF0FA
deuteranopia · #F0F2F8
tritanopia · #FFECF0

Color scale — 50 to 950

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

#ffecf9
#FCE3F4
#FCC0E9
#FF8FDC
#FF57CA
#FF1FB8
#F500A8
#CC008C
#A30070
#760552
#490333
Base = 50Lightest = 50 · #ffecf9Darkest = 950 · #490333
:root {
  --brand-50: #ffecf9;
  --brand-100: #FCE3F4;
  --brand-200: #FCC0E9;
  --brand-300: #FF8FDC;
  --brand-400: #FF57CA;
  --brand-500: #FF1FB8;
  --brand-600: #F500A8;
  --brand-700: #CC008C;
  --brand-800: #A30070;
  --brand-900: #760552;
  --brand-950: #490333;
  --brand: #ffecf9;
  --brand-ink: #000000;
}

Colors that work with #ffecf9

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#EDC0DF
Hairlines and dividers
Muted text#9B4B82
Captions on the surface
Accent#00CC0B
Second voice, not a rival
Dark variant#800057
Hover, pressed, headers
Light variant#FFE5F7
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 #ffecf9

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#ECFFF2
Analogous left#FCECFF
Analogous right#FFECF0
Split-complement 1#F0FFEC
Split-complement 2#ECFFFC
Triadic 1#F9FFEC
Triadic 2#ECF9FF
Tetradic#FFFCEC

RGB percentages

Red100.0%
Green92.5%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow2.4%
Key (black)0.0%

Color previews

#ffecf9 text on a black background

contrast 18.62:1

Card sample

#ffecf9 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffecf9

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.

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

#ffecf9, answered

What color is #ffecf9?

#ffecf9 is a pale electric magenta / pink, closest to Lavender Blush (ΔE2000 3.7). It sits at 319° on the hue wheel with 100% saturation and 96% lightness, which reads as warm.

What is the RGB value of #ffecf9?

rgb(255, 236, 249) — 255 red, 236 green and 249 blue out of 255, or 100% / 92.5% / 97.6% by channel.

Is #ffecf9 a light or a dark color?

It is a light color. Relative luminance is 0.8809 and perceived brightness is 95%, so black text on it reaches 18.62:1.

Should I use black or white text on #ffecf9?

Black. It scores 18.62:1 against #ffecf9, versus 1.13:1 for white — AAA at any size.

What is the complementary color of #ffecf9?

#ECFFF2 sits directly opposite on the wheel. Softer options are the split-complements #F0FFEC and #ECFFFC, which give the same contrast with far less vibration.

What colors go well with #ffecf9?

For interface work: #FAF4F8 as the surface, #EDC0DF for borders, #9B4B82 for secondary text, #00CC0B as an accent and #800057 for hover and pressed states. For a palette, the analogous pair #FCECFF and #FFECF0 stays calm, while #ECFFF2 is the loudest partner.

What is #ffecf9 in CMYK for printing?

cmyk(0%, 8%, 2%, 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 #ffecf9 warm or cool?

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

Work with #ffecf9 in the Color Lab