Skip to content

#ecb9da

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

RGB
236, 185, 218
HSL
321°, 57%, 83%
CMYK
0, 22, 8, 8
Luminance
0.5759

At a glance

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

Hex
#ecb9da
Hue
321°
magenta / pink
Saturation
57%
vivid
Lightness
83%
light
Brightness
93%
HSV value
Perceived
81%
weighted brightness
Luminance
0.5759
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
12.52:1
Closest name
Thistle
ΔE2000 6.5
Where it sits
Hue321° of 360°
Saturation57%
Lightness83%
Temperature
Warm ← → Cool38% 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#ecb9da
RGBrgb(236, 185, 218)
HSLhsl(321, 57%, 83%)
CMYKcmyk(0%, 22%, 8%, 8%)
LABlab(80.5 23.6 -9.5)
LCHlch(80.5 25.4 338.2)
OKLCHoklch(0.841 0.072 339.8)
Decimal15514074
Display P3color(display-p3 0.925 0.725 0.855)

Copy-ready code

/* CSS */
color: #ecb9da;
background-color: #ecb9da;
/* Tailwind (arbitrary) */
class="text-[#ecb9da] bg-[#ecb9da]"
/* SCSS */
$brand: #ecb9da;
/* SwiftUI */
Color(red: 0.925, green: 0.725, blue: 0.855)
/* Android */
Color.parseColor("#ecb9da")
/* Flutter */
Color(0xFFECB9DA)
/* Python / OpenCV (BGR) */
(218, 185, 236)

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 #ecb9da · 12.52:1
Use #000000AAA at every size.
Aa
White text · 1.68:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.52:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ecb9da as text scores 1.68:1 on white and 12.52:1 on black.

Accessibility — WCAG contrast

Aa
#ecb9da on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#ecb9da on black: 12.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BBC3DB
deuteranopia · #C6CBD8
tritanopia · #F2BAC4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ecb9da 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
#F7E9F2
#ecb9da
#E7A7D0
#DB7BB9
#CF4FA2
#C1348F
#A02C77
#80235F
#5D1D47
#3A122C
Base = 200Lightest = 50 · #FBF4F8Darkest = 950 · #3A122C
:root {
  --brand-50: #FBF4F8;
  --brand-100: #F7E9F2;
  --brand-200: #ecb9da;
  --brand-300: #E7A7D0;
  --brand-400: #DB7BB9;
  --brand-500: #CF4FA2;
  --brand-600: #C1348F;
  --brand-700: #A02C77;
  --brand-800: #80235F;
  --brand-900: #5D1D47;
  --brand-950: #3A122C;
  --brand: #ecb9da;
  --brand-ink: #000000;
}

Colors that work with #ecb9da

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#EDC0DD
Hairlines and dividers
Muted text#9B4B7F
Captions on the surface
Accent#27A535
Second voice, not a rival
Dark variant#641B4A
Hover, pressed, headers
Light variant#FAEBF4
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 #ecb9da

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#B9ECCB
Analogous left#E4B9EC
Analogous right#ECB9C0
Split-complement 1#C0ECB9
Split-complement 2#B9ECE4
Triadic 1#DAECB9
Triadic 2#B9DAEC
Tetradic#ECE4B9

RGB percentages

Red92.5%
Green72.5%
Blue85.5%

CMYK percentages

Cyan0.0%
Magenta21.6%
Yellow7.6%
Key (black)7.5%

Color previews

#ecb9da text on a black background

contrast 12.52:1

Card sample

#ecb9da text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecb9da

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.

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

Converts to four-color process without much drama. Proof it anyway.

#ecb9da, answered

What color is #ecb9da?

#ecb9da is a light vivid magenta / pink, closest to Thistle (ΔE2000 6.5). It sits at 321° on the hue wheel with 57% saturation and 83% lightness, which reads as warm.

What is the RGB value of #ecb9da?

rgb(236, 185, 218) — 236 red, 185 green and 218 blue out of 255, or 92.5% / 72.5% / 85.5% by channel.

Is #ecb9da a light or a dark color?

It is a light color. Relative luminance is 0.5759 and perceived brightness is 81%, so black text on it reaches 12.52:1.

Should I use black or white text on #ecb9da?

Black. It scores 12.52:1 against #ecb9da, versus 1.68:1 for white — AAA at any size.

What is the complementary color of #ecb9da?

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

What colors go well with #ecb9da?

For interface work: #FAF4F8 as the surface, #EDC0DD for borders, #9B4B7F for secondary text, #27A535 as an accent and #641B4A for hover and pressed states. For a palette, the analogous pair #E4B9EC and #ECB9C0 stays calm, while #B9ECCB is the loudest partner.

What is #ecb9da in CMYK for printing?

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

Is #ecb9da warm or cool?

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

Work with #ecb9da in the Color Lab