Skip to content

#e5afdf

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

RGB
229, 175, 223
HSL
307°, 51%, 79%
CMYK
0, 24, 3, 10
Luminance
0.5265

At a glance

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

Hex
#e5afdf
Hue
307°
magenta / pink
Saturation
51%
vivid
Lightness
79%
light
Brightness
90%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5265
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
11.53:1
Closest name
Plum
ΔE2000 4.3
Where it sits
Hue307° of 360°
Saturation51%
Lightness79%
Temperature
Warm ← → Cool46% 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#e5afdf
RGBrgb(229, 175, 223)
HSLhsl(307, 51%, 79%)
CMYKcmyk(0%, 24%, 3%, 10%)
LABlab(77.7 27.5 -16.5)
LCHlch(77.7 32.0 329.0)
OKLCHoklch(0.818 0.089 330.1)
Decimal15052767
Display P3color(display-p3 0.898 0.686 0.875)

Copy-ready code

/* CSS */
color: #e5afdf;
background-color: #e5afdf;
/* Tailwind (arbitrary) */
class="text-[#e5afdf] bg-[#e5afdf]"
/* SCSS */
$brand: #e5afdf;
/* SwiftUI */
Color(red: 0.898, green: 0.686, blue: 0.875)
/* Android */
Color.parseColor("#e5afdf")
/* Flutter */
Color(0xFFE5AFDF)
/* Python / OpenCV (BGR) */
(223, 175, 229)

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

Accessibility — WCAG contrast

Aa
#e5afdf on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#e5afdf on black: 11.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ADBCE1
deuteranopia · #BAC3DD
tritanopia · #EAB2C0

Color scale — 50 to 950

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

#FAF4FA
#F6EAF4
#EDCFE9
#e5afdf
#D680CC
#C856BB
#B93CAB
#9A328E
#7B2872
#5A2153
#381434
Base = 300Lightest = 50 · #FAF4FADarkest = 950 · #381434
:root {
  --brand-50: #FAF4FA;
  --brand-100: #F6EAF4;
  --brand-200: #EDCFE9;
  --brand-300: #e5afdf;
  --brand-400: #D680CC;
  --brand-500: #C856BB;
  --brand-600: #B93CAB;
  --brand-700: #9A328E;
  --brand-800: #7B2872;
  --brand-900: #5A2153;
  --brand-950: #381434;
  --brand: #e5afdf;
  --brand-ink: #000000;
}

Colors that work with #e5afdf

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#EBC1E6
Hairlines and dividers
Muted text#9B4B92
Captions on the surface
Accent#3E9E2E
Second voice, not a rival
Dark variant#601F59
Hover, pressed, headers
Light variant#F9ECF7
Selected rows, tints
Dark surface#241423
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 #e5afdf

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#AFE5B5
Analogous left#D0AFE5
Analogous right#E5AFC4
Split-complement 1#C4E5AF
Split-complement 2#AFE5D0
Triadic 1#DFE5AF
Triadic 2#AFDFE5
Tetradic#E5D0AF

RGB percentages

Red89.8%
Green68.6%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta23.6%
Yellow2.6%
Key (black)10.2%

Color previews

#e5afdf text on a black background

contrast 11.53:1

Card sample

#e5afdf text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e5afdf

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.

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

#e5afdf, answered

What color is #e5afdf?

#e5afdf is a light vivid magenta / pink, closest to Plum (ΔE2000 4.3). It sits at 307° on the hue wheel with 51% saturation and 79% lightness, which reads as neutral.

What is the RGB value of #e5afdf?

rgb(229, 175, 223) — 229 red, 175 green and 223 blue out of 255, or 89.8% / 68.6% / 87.5% by channel.

Is #e5afdf a light or a dark color?

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

Should I use black or white text on #e5afdf?

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

What is the complementary color of #e5afdf?

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

What colors go well with #e5afdf?

For interface work: #FAF4FA as the surface, #EBC1E6 for borders, #9B4B92 for secondary text, #3E9E2E as an accent and #601F59 for hover and pressed states. For a palette, the analogous pair #D0AFE5 and #E5AFC4 stays calm, while #AFE5B5 is the loudest partner.

What is #e5afdf in CMYK for printing?

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

Is #e5afdf warm or cool?

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

Work with #e5afdf in the Color Lab