Skip to content

#f0cddf

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

RGB
240, 205, 223
HSL
329°, 54%, 87%
CMYK
0, 15, 7, 6
Luminance
0.6752

At a glance

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

Hex
#f0cddf
Hue
329°
magenta / pink
Saturation
54%
vivid
Lightness
87%
pale
Brightness
94%
HSV value
Perceived
86%
weighted brightness
Luminance
0.6752
WCAG relative
Temperature
Warm
34/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
14.50:1
Closest name
Thistle
ΔE2000 5.4
Where it sits
Hue329° of 360°
Saturation54%
Lightness87%
Temperature
Warm ← → Cool34% 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#f0cddf
RGBrgb(240, 205, 223)
HSLhsl(329, 54%, 87%)
CMYKcmyk(0%, 15%, 7%, 6%)
LABlab(85.8 15.2 -4.3)
LCHlch(85.8 15.8 344.1)
OKLCHoklch(0.883 0.046 345.7)
Decimal15781343
Display P3color(display-p3 0.941 0.804 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0cddf on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#f0cddf on black: 14.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CFD3E0
deuteranopia · #D7D8DE
tritanopia · #F5CDD3

Color scale — 50 to 950

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

#FBF4F7
#F6E9F0
#f0cddf
#E5A9C8
#D87EAC
#CB5291
#BC397C
#9D2F68
#7E2653
#5B1F3E
#391327
Base = 200Lightest = 50 · #FBF4F7Darkest = 950 · #391327
:root {
  --brand-50: #FBF4F7;
  --brand-100: #F6E9F0;
  --brand-200: #f0cddf;
  --brand-300: #E5A9C8;
  --brand-400: #D87EAC;
  --brand-500: #CB5291;
  --brand-600: #BC397C;
  --brand-700: #9D2F68;
  --brand-800: #7E2653;
  --brand-900: #5B1F3E;
  --brand-950: #391327;
  --brand: #f0cddf;
  --brand-ink: #000000;
}

Colors that work with #f0cddf

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#FAF4F7
Tinted page background
Border#ECC0D7
Hairlines and dividers
Muted text#9B4B74
Captions on the surface
Accent#2CA048
Second voice, not a rival
Dark variant#621D41
Hover, pressed, headers
Light variant#F9EBF2
Selected rows, tints
Dark surface#24141C
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 #f0cddf

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#CDF0DE
Analogous left#F0CDF0
Analogous right#F0CDCE
Split-complement 1#CEF0CD
Split-complement 2#CDF0F0
Triadic 1#DFF0CD
Triadic 2#CDDFF0
Tetradic#F0F0CD

RGB percentages

Red94.1%
Green80.4%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta14.6%
Yellow7.1%
Key (black)5.9%

Color previews

#f0cddf text on a black background

contrast 14.50:1

Card sample

#f0cddf text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0cddf

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.

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

#f0cddf, answered

What color is #f0cddf?

#f0cddf is a pale vivid magenta / pink, closest to Thistle (ΔE2000 5.4). It sits at 329° on the hue wheel with 54% saturation and 87% lightness, which reads as warm.

What is the RGB value of #f0cddf?

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

Is #f0cddf a light or a dark color?

It is a light color. Relative luminance is 0.6752 and perceived brightness is 86%, so black text on it reaches 14.50:1.

Should I use black or white text on #f0cddf?

Black. It scores 14.50:1 against #f0cddf, versus 1.45:1 for white — AAA at any size.

What is the complementary color of #f0cddf?

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

What colors go well with #f0cddf?

For interface work: #FAF4F7 as the surface, #ECC0D7 for borders, #9B4B74 for secondary text, #2CA048 as an accent and #621D41 for hover and pressed states. For a palette, the analogous pair #F0CDF0 and #F0CDCE stays calm, while #CDF0DE is the loudest partner.

What is #f0cddf in CMYK for printing?

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

Is #f0cddf warm or cool?

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

Work with #f0cddf in the Color Lab