Skip to content

#ec97ce

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

RGB
236, 151, 206
HSL
321°, 69%, 76%
CMYK
0, 36, 13, 8
Luminance
0.4442

At a glance

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

Hex
#ec97ce
Hue
321°
magenta / pink
Saturation
69%
vivid
Lightness
76%
light
Brightness
93%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4442
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
9.88:1
Closest name
Plum
ΔE2000 5.4
Where it sits
Hue321° of 360°
Saturation69%
Lightness76%
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#ec97ce
RGBrgb(236, 151, 206)
HSLhsl(321, 69%, 76%)
CMYKcmyk(0%, 36%, 13%, 8%)
LABlab(72.5 39.6 -14.9)
LCHlch(72.5 42.3 339.4)
OKLCHoklch(0.779 0.122 341.2)
Decimal15505358
Display P3color(display-p3 0.925 0.592 0.808)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec97ce on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#ec97ce on black: 9.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9BAAD0
deuteranopia · #B0B7CC
tritanopia · #F698AB

Color scale — 50 to 950

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

#FBF3F9
#F8E7F2
#F2CAE4
#ec97ce
#E571BC
#DC41A6
#CF2693
#AC207B
#8A1962
#641649
#3F0E2D
Base = 300Lightest = 50 · #FBF3F9Darkest = 950 · #3F0E2D
:root {
  --brand-50: #FBF3F9;
  --brand-100: #F8E7F2;
  --brand-200: #F2CAE4;
  --brand-300: #ec97ce;
  --brand-400: #E571BC;
  --brand-500: #DC41A6;
  --brand-600: #CF2693;
  --brand-700: #AC207B;
  --brand-800: #8A1962;
  --brand-900: #641649;
  --brand-950: #3F0E2D;
  --brand: #ec97ce;
  --brand-ink: #000000;
}

Colors that work with #ec97ce

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#1CB02B
Second voice, not a rival
Dark variant#6C144D
Hover, pressed, headers
Light variant#FBE9F5
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 #ec97ce

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#97ECB5
Analogous left#E097EC
Analogous right#EC97A4
Split-complement 1#A4EC97
Split-complement 2#97ECE0
Triadic 1#CEEC97
Triadic 2#97CEEC
Tetradic#ECE097

RGB percentages

Red92.5%
Green59.2%
Blue80.8%

CMYK percentages

Cyan0.0%
Magenta36.0%
Yellow12.7%
Key (black)7.5%

Color previews

#ec97ce text on a black background

contrast 9.88:1

Card sample

#ec97ce text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec97ce

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.

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

#ec97ce, answered

What color is #ec97ce?

#ec97ce is a light vivid magenta / pink, closest to Plum (ΔE2000 5.4). It sits at 321° on the hue wheel with 69% saturation and 76% lightness, which reads as warm.

What is the RGB value of #ec97ce?

rgb(236, 151, 206) — 236 red, 151 green and 206 blue out of 255, or 92.5% / 59.2% / 80.8% by channel.

Is #ec97ce a light or a dark color?

It is a mid-tone. Relative luminance is 0.4442 and perceived brightness is 73%, so black text on it reaches 9.88:1.

Should I use black or white text on #ec97ce?

Black. It scores 9.88:1 against #ec97ce, versus 2.12:1 for white — AAA at any size.

What is the complementary color of #ec97ce?

#97ECB5 sits directly opposite on the wheel. Softer options are the split-complements #A4EC97 and #97ECE0, which give the same contrast with far less vibration.

What colors go well with #ec97ce?

For interface work: #FAF4F8 as the surface, #EDC0DD for borders, #9B4B7F for secondary text, #1CB02B as an accent and #6C144D for hover and pressed states. For a palette, the analogous pair #E097EC and #EC97A4 stays calm, while #97ECB5 is the loudest partner.

What is #ec97ce in CMYK for printing?

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

Is #ec97ce 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 #EC97AF; nudged cooler, #EC96ED.

Work with #ec97ce in the Color Lab