Skip to content

#ffd1f1

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

RGB
255, 209, 241
HSL
318°, 100%, 91%
CMYK
0, 18, 6, 0
Luminance
0.7321

At a glance

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

Hex
#ffd1f1
Hue
318°
magenta / pink
Saturation
100%
electric
Lightness
91%
pale
Brightness
100%
HSV value
Perceived
89%
weighted brightness
Luminance
0.7321
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
15.64:1
Closest name
Thistle
ΔE2000 7.7
Where it sits
Hue318° of 360°
Saturation100%
Lightness91%
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#ffd1f1
RGBrgb(255, 209, 241)
HSLhsl(318, 100%, 91%)
CMYKcmyk(0%, 18%, 6%, 0%)
LABlab(88.5 21.3 -9.6)
LCHlch(88.5 23.3 335.7)
OKLCHoklch(0.909 0.066 337.4)
Decimal16765425
Display P3color(display-p3 1.000 0.820 0.945)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffd1f1 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#ffd1f1 on black: 15.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D2DAF2
deuteranopia · #DCE1F0
tritanopia · #FFD2DC

Color scale — 50 to 950

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

#FEF1FA
#ffd1f1
#FCC0E9
#FF8FDD
#FF57CC
#FF1FBB
#F500AA
#CC008E
#A30071
#760553
#490334
Base = 100Lightest = 50 · #FEF1FADarkest = 950 · #490334
:root {
  --brand-50: #FEF1FA;
  --brand-100: #ffd1f1;
  --brand-200: #FCC0E9;
  --brand-300: #FF8FDD;
  --brand-400: #FF57CC;
  --brand-500: #FF1FBB;
  --brand-600: #F500AA;
  --brand-700: #CC008E;
  --brand-800: #A30071;
  --brand-900: #760553;
  --brand-950: #490334;
  --brand: #ffd1f1;
  --brand-ink: #000000;
}

Colors that work with #ffd1f1

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#EDC0DF
Hairlines and dividers
Muted text#9B4B82
Captions on the surface
Accent#00CC0D
Second voice, not a rival
Dark variant#800059
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 #ffd1f1

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#D1FFDF
Analogous left#F6D1FF
Analogous right#FFD1DA
Split-complement 1#DAFFD1
Split-complement 2#D1FFF6
Triadic 1#F1FFD1
Triadic 2#D1F1FF
Tetradic#FFF6D1

RGB percentages

Red100.0%
Green82.0%
Blue94.5%

CMYK percentages

Cyan0.0%
Magenta18.0%
Yellow5.5%
Key (black)0.0%

Color previews

#ffd1f1 text on a black background

contrast 15.64:1

Card sample

#ffd1f1 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffd1f1

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.

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

#ffd1f1, answered

What color is #ffd1f1?

#ffd1f1 is a pale electric magenta / pink, closest to Thistle (ΔE2000 7.7). It sits at 318° on the hue wheel with 100% saturation and 91% lightness, which reads as warm.

What is the RGB value of #ffd1f1?

rgb(255, 209, 241) — 255 red, 209 green and 241 blue out of 255, or 100% / 82% / 94.5% by channel.

Is #ffd1f1 a light or a dark color?

It is a light color. Relative luminance is 0.7321 and perceived brightness is 89%, so black text on it reaches 15.64:1.

Should I use black or white text on #ffd1f1?

Black. It scores 15.64:1 against #ffd1f1, versus 1.34:1 for white — AAA at any size.

What is the complementary color of #ffd1f1?

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

What colors go well with #ffd1f1?

For interface work: #FAF4F9 as the surface, #EDC0DF for borders, #9B4B82 for secondary text, #00CC0D as an accent and #800059 for hover and pressed states. For a palette, the analogous pair #F6D1FF and #FFD1DA stays calm, while #D1FFDF is the loudest partner.

What is #ffd1f1 in CMYK for printing?

cmyk(0%, 18%, 6%, 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 #ffd1f1 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 #FFD1E0; nudged cooler, #FCD1FF.

Work with #ffd1f1 in the Color Lab