Skip to content

#eec2d8

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

RGB
238, 194, 216
HSL
330°, 56%, 85%
CMYK
0, 19, 9, 7
Luminance
0.6172

At a glance

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

Hex
#eec2d8
Hue
330°
magenta / pink
Saturation
56%
vivid
Lightness
85%
light
Brightness
93%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6172
WCAG relative
Temperature
Warm
33/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
13.34:1
Closest name
Thistle
ΔE2000 5.6
Where it sits
Hue330° of 360°
Saturation56%
Lightness85%
Temperature
Warm ← → Cool33% 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#eec2d8
RGBrgb(238, 194, 216)
HSLhsl(330, 56%, 85%)
CMYKcmyk(0%, 19%, 9%, 7%)
LABlab(82.8 19.2 -5.0)
LCHlch(82.8 19.8 345.3)
OKLCHoklch(0.859 0.058 346.8)
Decimal15647448
Display P3color(display-p3 0.933 0.761 0.847)

Copy-ready code

/* CSS */
color: #eec2d8;
background-color: #eec2d8;
/* Tailwind (arbitrary) */
class="text-[#eec2d8] bg-[#eec2d8]"
/* SCSS */
$brand: #eec2d8;
/* SwiftUI */
Color(red: 0.933, green: 0.761, blue: 0.847)
/* Android */
Color.parseColor("#eec2d8")
/* Flutter */
Color(0xFFEEC2D8)
/* Python / OpenCV (BGR) */
(216, 194, 238)

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

Accessibility — WCAG contrast

Aa
#eec2d8 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#eec2d8 on black: 13.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C5CAD9
deuteranopia · #CFD1D7
tritanopia · #F5C2C9

Color scale — 50 to 950

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

#FBF4F7
#F6E9F0
#eec2d8
#E7A7C7
#DA7BAB
#CE508F
#BF357A
#A02C66
#802452
#5D1D3D
#3A1226
Base = 200Lightest = 50 · #FBF4F7Darkest = 950 · #3A1226
:root {
  --brand-50: #FBF4F7;
  --brand-100: #F6E9F0;
  --brand-200: #eec2d8;
  --brand-300: #E7A7C7;
  --brand-400: #DA7BAB;
  --brand-500: #CE508F;
  --brand-600: #BF357A;
  --brand-700: #A02C66;
  --brand-800: #802452;
  --brand-900: #5D1D3D;
  --brand-950: #3A1226;
  --brand: #eec2d8;
  --brand-ink: #000000;
}

Colors that work with #eec2d8

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#FAF4F7
Tinted page background
Border#EDC0D6
Hairlines and dividers
Muted text#9B4B73
Captions on the surface
Accent#27A547
Second voice, not a rival
Dark variant#641C40
Hover, pressed, headers
Light variant#F9EBF2
Selected rows, tints
Dark surface#24141C
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 #eec2d8

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#C2EED8
Analogous left#EEC2EE
Analogous right#EEC2C2
Split-complement 1#C2EEC2
Split-complement 2#C2EEEE
Triadic 1#D8EEC2
Triadic 2#C2D8EE
Tetradic#EEEEC2

RGB percentages

Red93.3%
Green76.1%
Blue84.7%

CMYK percentages

Cyan0.0%
Magenta18.5%
Yellow9.2%
Key (black)6.7%

Color previews

#eec2d8 text on a black background

contrast 13.34:1

Card sample

#eec2d8 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eec2d8

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.

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

#eec2d8, answered

What color is #eec2d8?

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

What is the RGB value of #eec2d8?

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

Is #eec2d8 a light or a dark color?

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

Should I use black or white text on #eec2d8?

Black. It scores 13.34:1 against #eec2d8, versus 1.57:1 for white — AAA at any size.

What is the complementary color of #eec2d8?

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

What colors go well with #eec2d8?

For interface work: #FAF4F7 as the surface, #EDC0D6 for borders, #9B4B73 for secondary text, #27A547 as an accent and #641C40 for hover and pressed states. For a palette, the analogous pair #EEC2EE and #EEC2C2 stays calm, while #C2EED8 is the loudest partner.

What is #eec2d8 in CMYK for printing?

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

Is #eec2d8 warm or cool?

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

Work with #eec2d8 in the Color Lab