Skip to content

#e7c5df

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

RGB
231, 197, 223
HSL
314°, 42%, 84%
CMYK
0, 15, 4, 9
Luminance
0.6225

At a glance

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

Hex
#e7c5df
Hue
314°
magenta / pink
Saturation
42%
soft
Lightness
84%
light
Brightness
91%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6225
WCAG relative
Temperature
Neutral
42/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
13.45:1
Closest name
Thistle
ΔE2000 3.2
Where it sits
Hue314° of 360°
Saturation42%
Lightness84%
Temperature
Warm ← → Cool42% 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#e7c5df
RGBrgb(231, 197, 223)
HSLhsl(314, 42%, 84%)
CMYKcmyk(0%, 15%, 4%, 9%)
LABlab(83.0 16.4 -8.4)
LCHlch(83.0 18.4 332.8)
OKLCHoklch(0.860 0.051 334.3)
Decimal15189471
Display P3color(display-p3 0.906 0.773 0.875)

Copy-ready code

/* CSS */
color: #e7c5df;
background-color: #e7c5df;
/* Tailwind (arbitrary) */
class="text-[#e7c5df] bg-[#e7c5df]"
/* SCSS */
$brand: #e7c5df;
/* SwiftUI */
Color(red: 0.906, green: 0.773, blue: 0.875)
/* Android */
Color.parseColor("#e7c5df")
/* Flutter */
Color(0xFFE7C5DF)
/* Python / OpenCV (BGR) */
(223, 197, 231)

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

Accessibility — WCAG contrast

Aa
#e7c5df on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#e7c5df on black: 13.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C5CCE0
deuteranopia · #CCD1DE
tritanopia · #EBC6CE

Color scale — 50 to 950

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

#FAF5F9
#F5EBF2
#e7c5df
#DEB0D3
#CE88BD
#BD60A7
#AD4895
#903C7C
#733064
#55264A
#35182E
Base = 200Lightest = 50 · #FAF5F9Darkest = 950 · #35182E
:root {
  --brand-50: #FAF5F9;
  --brand-100: #F5EBF2;
  --brand-200: #e7c5df;
  --brand-300: #DEB0D3;
  --brand-400: #CE88BD;
  --brand-500: #BD60A7;
  --brand-600: #AD4895;
  --brand-700: #903C7C;
  --brand-800: #733064;
  --brand-900: #55264A;
  --brand-950: #35182E;
  --brand: #e7c5df;
  --brand-ink: #000000;
}

Colors that work with #e7c5df

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#E7C5DF
Hairlines and dividers
Muted text#9B4B88
Captions on the surface
Accent#399537
Second voice, not a rival
Dark variant#5A254E
Hover, pressed, headers
Light variant#F8EDF5
Selected rows, tints
Dark surface#241421
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 #e7c5df

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#C5E7CD
Analogous left#DEC5E7
Analogous right#E7C5CE
Split-complement 1#CEE7C5
Split-complement 2#C5E7DE
Triadic 1#DFE7C5
Triadic 2#C5DFE7
Tetradic#E7DEC5

RGB percentages

Red90.6%
Green77.3%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta14.7%
Yellow3.5%
Key (black)9.4%

Color previews

#e7c5df text on a black background

contrast 13.45:1

Card sample

#e7c5df text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(231, 197, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(231, 197, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e7c5df;
background: linear-gradient(135deg, #e7c5df, #E7C5C8);

Monochromatic scale

Palettes built from #e7c5df

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.

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

#e7c5df, answered

What color is #e7c5df?

#e7c5df is a light soft magenta / pink, closest to Thistle (ΔE2000 3.2). It sits at 314° on the hue wheel with 42% saturation and 84% lightness, which reads as neutral.

What is the RGB value of #e7c5df?

rgb(231, 197, 223) — 231 red, 197 green and 223 blue out of 255, or 90.6% / 77.3% / 87.5% by channel.

Is #e7c5df a light or a dark color?

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

Should I use black or white text on #e7c5df?

Black. It scores 13.45:1 against #e7c5df, versus 1.56:1 for white — AAA at any size.

What is the complementary color of #e7c5df?

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

What colors go well with #e7c5df?

For interface work: #FAF4F9 as the surface, #E7C5DF for borders, #9B4B88 for secondary text, #399537 as an accent and #5A254E for hover and pressed states. For a palette, the analogous pair #DEC5E7 and #E7C5CE stays calm, while #C5E7CD is the loudest partner.

What is #e7c5df in CMYK for printing?

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

Is #e7c5df warm or cool?

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

Work with #e7c5df in the Color Lab