Skip to content

#f0cadf

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

RGB
240, 202, 223
HSL
327°, 56%, 87%
CMYK
0, 16, 7, 6
Luminance
0.6609

At a glance

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

Hex
#f0cadf
Hue
327°
magenta / pink
Saturation
56%
vivid
Lightness
87%
pale
Brightness
94%
HSV value
Perceived
85%
weighted brightness
Luminance
0.6609
WCAG relative
Temperature
Warm
35/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
14.22:1
Closest name
Thistle
ΔE2000 5.2
Where it sits
Hue327° of 360°
Saturation56%
Lightness87%
Temperature
Warm ← → Cool35% 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#f0cadf
RGBrgb(240, 202, 223)
HSLhsl(327, 56%, 87%)
CMYKcmyk(0%, 16%, 7%, 6%)
LABlab(85.0 16.8 -5.4)
LCHlch(85.0 17.6 342.2)
OKLCHoklch(0.877 0.051 343.8)
Decimal15780575
Display P3color(display-p3 0.941 0.792 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0cadf on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#f0cadf on black: 14.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CCD1E0
deuteranopia · #D4D7DE
tritanopia · #F5CAD1

Color scale — 50 to 950

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

#FBF4F8
#F6E9F0
#f0cadf
#E6A8CA
#DA7CB0
#CE5095
#BF3682
#9F2D6C
#7F2456
#5D1E41
#3A1328
Base = 200Lightest = 50 · #FBF4F8Darkest = 950 · #3A1328
:root {
  --brand-50: #FBF4F8;
  --brand-100: #F6E9F0;
  --brand-200: #f0cadf;
  --brand-300: #E6A8CA;
  --brand-400: #DA7CB0;
  --brand-500: #CE5095;
  --brand-600: #BF3682;
  --brand-700: #9F2D6C;
  --brand-800: #7F2456;
  --brand-900: #5D1E41;
  --brand-950: #3A1328;
  --brand: #f0cadf;
  --brand-ink: #000000;
}

Colors that work with #f0cadf

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#EDC0D9
Hairlines and dividers
Muted text#9B4B77
Captions on the surface
Accent#2AA242
Second voice, not a rival
Dark variant#631C44
Hover, pressed, headers
Light variant#F9EBF3
Selected rows, tints
Dark surface#24141D
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 #f0cadf

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#CAF0DB
Analogous left#EECAF0
Analogous right#F0CACC
Split-complement 1#CCF0CA
Split-complement 2#CAF0EE
Triadic 1#DFF0CA
Triadic 2#CADFF0
Tetradic#F0EECA

RGB percentages

Red94.1%
Green79.2%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta15.8%
Yellow7.1%
Key (black)5.9%

Color previews

#f0cadf text on a black background

contrast 14.22:1

Card sample

#f0cadf text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0cadf

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.

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

#f0cadf, answered

What color is #f0cadf?

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

What is the RGB value of #f0cadf?

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

Is #f0cadf a light or a dark color?

It is a light color. Relative luminance is 0.6609 and perceived brightness is 85%, so black text on it reaches 14.22:1.

Should I use black or white text on #f0cadf?

Black. It scores 14.22:1 against #f0cadf, versus 1.48:1 for white — AAA at any size.

What is the complementary color of #f0cadf?

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

What colors go well with #f0cadf?

For interface work: #FAF4F8 as the surface, #EDC0D9 for borders, #9B4B77 for secondary text, #2AA242 as an accent and #631C44 for hover and pressed states. For a palette, the analogous pair #EECAF0 and #F0CACC stays calm, while #CAF0DB is the loudest partner.

What is #f0cadf in CMYK for printing?

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

Is #f0cadf warm or cool?

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

Work with #f0cadf in the Color Lab