Skip to content

#f0dcf3

a pale, vivid magenta / pink · neutral · closest name: Thistle

RGB
240, 220, 243
HSL
292°, 49%, 91%
CMYK
1, 10, 0, 5
Luminance
0.7618

At a glance

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

Hex
#f0dcf3
Hue
292°
magenta / pink
Saturation
49%
vivid
Lightness
91%
pale
Brightness
95%
HSV value
Perceived
90%
weighted brightness
Luminance
0.7618
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
16.24:1
Closest name
Thistle
ΔE2000 6.8
Where it sits
Hue292° of 360°
Saturation49%
Lightness91%
Temperature
Warm ← → Cool54% 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#f0dcf3
RGBrgb(240, 220, 243)
HSLhsl(292, 49%, 91%)
CMYKcmyk(1%, 10%, 0%, 5%)
LABlab(89.9 10.9 -8.7)
LCHlch(89.9 13.9 321.3)
OKLCHoklch(0.917 0.037 321.8)
Decimal15785203
Display P3color(display-p3 0.941 0.863 0.953)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0dcf3 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#f0dcf3 on black: 16.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DAE1F4
deuteranopia · #DEE3F2
tritanopia · #F1DEE3

Color scale — 50 to 950

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

#FAF4FA
#f0dcf3
#E8D0EC
#DBABE2
#C982D4
#B758C6
#A73FB6
#8B3498
#6F2A7A
#522259
#331537
Base = 100Lightest = 50 · #FAF4FADarkest = 950 · #331537
:root {
  --brand-50: #FAF4FA;
  --brand-100: #f0dcf3;
  --brand-200: #E8D0EC;
  --brand-300: #DBABE2;
  --brand-400: #C982D4;
  --brand-500: #B758C6;
  --brand-600: #A73FB6;
  --brand-700: #8B3498;
  --brand-800: #6F2A7A;
  --brand-900: #522259;
  --brand-950: #331537;
  --brand: #f0dcf3;
  --brand-ink: #000000;
}

Colors that work with #f0dcf3

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#E5C2EA
Hairlines and dividers
Muted text#904B9B
Captions on the surface
Accent#5B9C30
Second voice, not a rival
Dark variant#57215F
Hover, pressed, headers
Light variant#F7ECF8
Selected rows, tints
Dark surface#221424
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 #f0dcf3

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#DFF3DC
Analogous left#E5DCF3
Analogous right#F3DCEB
Split-complement 1#EBF3DC
Split-complement 2#DCF3E5
Triadic 1#F3F0DC
Triadic 2#DCF3F0
Tetradic#F3E5DC

RGB percentages

Red94.1%
Green86.3%
Blue95.3%

CMYK percentages

Cyan1.2%
Magenta9.5%
Yellow0.0%
Key (black)4.7%

Color previews

#f0dcf3 text on a black background

contrast 16.24:1

Card sample

#f0dcf3 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0dcf3

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.

#f0dcf3 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

Very light tints can drop out on uncoated stock; check it at 100% size before signing off.

#f0dcf3, answered

What color is #f0dcf3?

#f0dcf3 is a pale vivid magenta / pink, closest to Thistle (ΔE2000 6.8). It sits at 292° on the hue wheel with 49% saturation and 91% lightness, which reads as neutral.

What is the RGB value of #f0dcf3?

rgb(240, 220, 243) — 240 red, 220 green and 243 blue out of 255, or 94.1% / 86.3% / 95.3% by channel.

Is #f0dcf3 a light or a dark color?

It is a light color. Relative luminance is 0.7618 and perceived brightness is 90%, so black text on it reaches 16.24:1.

Should I use black or white text on #f0dcf3?

Black. It scores 16.24:1 against #f0dcf3, versus 1.29:1 for white — AAA at any size.

What is the complementary color of #f0dcf3?

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

What colors go well with #f0dcf3?

For interface work: #FAF4FA as the surface, #E5C2EA for borders, #904B9B for secondary text, #5B9C30 as an accent and #57215F for hover and pressed states. For a palette, the analogous pair #E5DCF3 and #F3DCEB stays calm, while #DFF3DC is the loudest partner.

What is #f0dcf3 in CMYK for printing?

cmyk(1%, 10%, 0%, 5%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #f0dcf3 warm or cool?

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

Work with #f0dcf3 in the Color Lab