Skip to content

#ecace2

a light, vivid magenta / pink · neutral · closest name: Plum

RGB
236, 172, 226
HSL
309°, 63%, 80%
CMYK
0, 27, 4, 8
Luminance
0.5283

At a glance

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

Hex
#ecace2
Hue
309°
magenta / pink
Saturation
63%
vivid
Lightness
80%
light
Brightness
93%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5283
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
11.57:1
Closest name
Plum
ΔE2000 3.8
Where it sits
Hue309° of 360°
Saturation63%
Lightness80%
Temperature
Warm ← → Cool45% 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#ecace2
RGBrgb(236, 172, 226)
HSLhsl(309, 63%, 80%)
CMYKcmyk(0%, 27%, 4%, 8%)
LABlab(77.8 31.9 -17.9)
LCHlch(77.8 36.6 330.7)
OKLCHoklch(0.821 0.102 332.0)
Decimal15510754
Display P3color(display-p3 0.925 0.675 0.886)

Copy-ready code

/* CSS */
color: #ecace2;
background-color: #ecace2;
/* Tailwind (arbitrary) */
class="text-[#ecace2] bg-[#ecace2]"
/* SCSS */
$brand: #ecace2;
/* SwiftUI */
Color(red: 0.925, green: 0.675, blue: 0.886)
/* Android */
Color.parseColor("#ecace2")
/* Flutter */
Color(0xFFECACE2)
/* Python / OpenCV (BGR) */
(226, 172, 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 #ecace2 · 11.57:1
Use #000000AAA at every size.
Aa
White text · 1.82:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.57:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ecace2 as text scores 1.82:1 on white and 11.57:1 on black.

Accessibility — WCAG contrast

Aa
#ecace2 on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#ecace2 on black: 11.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ABBBE4
deuteranopia · #BAC3E0
tritanopia · #F2AFBF

Color scale — 50 to 950

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

#FBF4FA
#F7E8F5
#F0CCEA
#ecace2
#E076CF
#D548BF
#C72EAF
#A62692
#851E75
#611A55
#3C1035
Base = 300Lightest = 50 · #FBF4FADarkest = 950 · #3C1035
:root {
  --brand-50: #FBF4FA;
  --brand-100: #F7E8F5;
  --brand-200: #F0CCEA;
  --brand-300: #ecace2;
  --brand-400: #E076CF;
  --brand-500: #D548BF;
  --brand-600: #C72EAF;
  --brand-700: #A62692;
  --brand-800: #851E75;
  --brand-900: #611A55;
  --brand-950: #3C1035;
  --brand: #ecace2;
  --brand-ink: #000000;
}

Colors that work with #ecace2

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#EDC0E6
Hairlines and dividers
Muted text#9B4B8E
Captions on the surface
Accent#2EAA22
Second voice, not a rival
Dark variant#68185B
Hover, pressed, headers
Light variant#FAEAF8
Selected rows, tints
Dark surface#241422
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 #ecace2

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#ACECB6
Analogous left#D6ACEC
Analogous right#ECACC2
Split-complement 1#C2ECAC
Split-complement 2#ACECD6
Triadic 1#E2ECAC
Triadic 2#ACE2EC
Tetradic#ECD6AC

RGB percentages

Red92.5%
Green67.5%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta27.1%
Yellow4.2%
Key (black)7.5%

Color previews

#ecace2 text on a black background

contrast 11.57:1

Card sample

#ecace2 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecace2

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.

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

#ecace2, answered

What color is #ecace2?

#ecace2 is a light vivid magenta / pink, closest to Plum (ΔE2000 3.8). It sits at 309° on the hue wheel with 63% saturation and 80% lightness, which reads as neutral.

What is the RGB value of #ecace2?

rgb(236, 172, 226) — 236 red, 172 green and 226 blue out of 255, or 92.5% / 67.5% / 88.6% by channel.

Is #ecace2 a light or a dark color?

It is a light color. Relative luminance is 0.5283 and perceived brightness is 78%, so black text on it reaches 11.57:1.

Should I use black or white text on #ecace2?

Black. It scores 11.57:1 against #ecace2, versus 1.82:1 for white — AAA at any size.

What is the complementary color of #ecace2?

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

What colors go well with #ecace2?

For interface work: #FAF4F9 as the surface, #EDC0E6 for borders, #9B4B8E for secondary text, #2EAA22 as an accent and #68185B for hover and pressed states. For a palette, the analogous pair #D6ACEC and #ECACC2 stays calm, while #ACECB6 is the loudest partner.

What is #ecace2 in CMYK for printing?

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

Is #ecace2 warm or cool?

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

Work with #ecace2 in the Color Lab