Skip to content

#ecc2ee

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

RGB
236, 194, 238
HSL
297°, 56%, 85%
CMYK
1, 19, 0, 7
Luminance
0.6259

At a glance

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

Hex
#ecc2ee
Hue
297°
magenta / pink
Saturation
56%
vivid
Lightness
85%
light
Brightness
93%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6259
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
13.52:1
Closest name
Thistle
ΔE2000 6.5
Where it sits
Hue297° of 360°
Saturation56%
Lightness85%
Temperature
Warm ← → Cool52% 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#ecc2ee
RGBrgb(236, 194, 238)
HSLhsl(297, 56%, 85%)
CMYKcmyk(1%, 19%, 0%, 7%)
LABlab(83.2 22.4 -16.1)
LCHlch(83.2 27.6 324.2)
OKLCHoklch(0.864 0.075 324.8)
Decimal15516398
Display P3color(display-p3 0.925 0.761 0.933)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecc2ee on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#ecc2ee on black: 13.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BFCCF0
deuteranopia · #C8D1EC
tritanopia · #EEC6D1

Color scale — 50 to 950

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

#FAF4FB
#F6E9F6
#ecc2ee
#E4A7E7
#D67BDA
#C850CE
#B935BF
#9A2CA0
#7B2480
#5A1D5D
#38123A
Base = 200Lightest = 50 · #FAF4FBDarkest = 950 · #38123A
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F6E9F6;
  --brand-200: #ecc2ee;
  --brand-300: #E4A7E7;
  --brand-400: #D67BDA;
  --brand-500: #C850CE;
  --brand-600: #B935BF;
  --brand-700: #9A2CA0;
  --brand-800: #7B2480;
  --brand-900: #5A1D5D;
  --brand-950: #38123A;
  --brand: #ecc2ee;
  --brand-ink: #000000;
}

Colors that work with #ecc2ee

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#FAF4FA
Tinted page background
Border#EBC0ED
Hairlines and dividers
Muted text#974B9B
Captions on the surface
Accent#4CA527
Second voice, not a rival
Dark variant#601C64
Hover, pressed, headers
Light variant#F9EBF9
Selected rows, tints
Dark surface#241424
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 #ecc2ee

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#C4EEC2
Analogous left#D6C2EE
Analogous right#EEC2DA
Split-complement 1#DAEEC2
Split-complement 2#C2EED6
Triadic 1#EEECC2
Triadic 2#C2EEEC
Tetradic#EED6C2

RGB percentages

Red92.5%
Green76.1%
Blue93.3%

CMYK percentages

Cyan0.8%
Magenta18.5%
Yellow0.0%
Key (black)6.7%

Color previews

#ecc2ee text on a black background

contrast 13.52:1

Card sample

#ecc2ee text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecc2ee

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.

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

#ecc2ee, answered

What color is #ecc2ee?

#ecc2ee is a light vivid magenta / pink, closest to Thistle (ΔE2000 6.5). It sits at 297° on the hue wheel with 56% saturation and 85% lightness, which reads as neutral.

What is the RGB value of #ecc2ee?

rgb(236, 194, 238) — 236 red, 194 green and 238 blue out of 255, or 92.5% / 76.1% / 93.3% by channel.

Is #ecc2ee a light or a dark color?

It is a light color. Relative luminance is 0.6259 and perceived brightness is 83%, so black text on it reaches 13.52:1.

Should I use black or white text on #ecc2ee?

Black. It scores 13.52:1 against #ecc2ee, versus 1.55:1 for white — AAA at any size.

What is the complementary color of #ecc2ee?

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

What colors go well with #ecc2ee?

For interface work: #FAF4FA as the surface, #EBC0ED for borders, #974B9B for secondary text, #4CA527 as an accent and #601C64 for hover and pressed states. For a palette, the analogous pair #D6C2EE and #EEC2DA stays calm, while #C4EEC2 is the loudest partner.

What is #ecc2ee in CMYK for printing?

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

Is #ecc2ee warm or cool?

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

Work with #ecc2ee in the Color Lab