Skip to content

#eb7edd

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

RGB
235, 126, 221
HSL
308°, 73%, 71%
CMYK
0, 46, 6, 8
Luminance
0.3780

At a glance

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

Hex
#eb7edd
Hue
308°
magenta / pink
Saturation
73%
vivid
Lightness
71%
light
Brightness
92%
HSV value
Perceived
69%
weighted brightness
Luminance
0.3780
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
8.56:1
Closest name
Violet
ΔE2000 2.9
Where it sits
Hue308° of 360°
Saturation73%
Lightness71%
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#eb7edd
RGBrgb(235, 126, 221)
HSLhsl(308, 73%, 71%)
CMYKcmyk(0%, 46%, 6%, 8%)
LABlab(67.9 54.5 -30.3)
LCHlch(67.9 62.4 331.0)
OKLCHoklch(0.745 0.176 332.1)
Decimal15433437
Display P3color(display-p3 0.922 0.494 0.867)

Copy-ready code

/* CSS */
color: #eb7edd;
background-color: #eb7edd;
/* Tailwind (arbitrary) */
class="text-[#eb7edd] bg-[#eb7edd]"
/* SCSS */
$brand: #eb7edd;
/* SwiftUI */
Color(red: 0.922, green: 0.494, blue: 0.867)
/* Android */
Color.parseColor("#eb7edd")
/* Flutter */
Color(0xFFEB7EDD)
/* Python / OpenCV (BGR) */
(221, 126, 235)

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

Accessibility — WCAG contrast

Aa
#eb7edd on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#eb7edd on black: 8.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7B9CE0
deuteranopia · #99ABDA
tritanopia · #F385A3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #eb7edd is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF3FB
#F8E7F6
#F3C8EE
#F09EE5
#eb7edd
#E13DCC
#D421BD
#B11B9E
#8D167E
#66145C
#400C39
Base = 400Lightest = 50 · #FCF3FBDarkest = 950 · #400C39
:root {
  --brand-50: #FCF3FB;
  --brand-100: #F8E7F6;
  --brand-200: #F3C8EE;
  --brand-300: #F09EE5;
  --brand-400: #eb7edd;
  --brand-500: #E13DCC;
  --brand-600: #D421BD;
  --brand-700: #B11B9E;
  --brand-800: #8D167E;
  --brand-900: #66145C;
  --brand-950: #400C39;
  --brand: #eb7edd;
  --brand-ink: #000000;
}

Colors that work with #eb7edd

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#EDC0E7
Hairlines and dividers
Muted text#9B4B91
Captions on the surface
Accent#2AB517
Second voice, not a rival
Dark variant#6E1162
Hover, pressed, headers
Light variant#FCE9F9
Selected rows, tints
Dark surface#241422
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 #eb7edd

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#7EEB8C
Analogous left#C37EEB
Analogous right#EB7EA7
Split-complement 1#A7EB7E
Split-complement 2#7EEBC3
Triadic 1#DDEB7E
Triadic 2#7EDDEB
Tetradic#EBC37E

RGB percentages

Red92.2%
Green49.4%
Blue86.7%

CMYK percentages

Cyan0.0%
Magenta46.4%
Yellow6.0%
Key (black)7.8%

Color previews

#eb7edd text on a black background

contrast 8.56:1

Card sample

#eb7edd text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(235, 126, 221, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 126, 221, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eb7edd;
background: linear-gradient(135deg, #eb7edd, #EB7E94);

Monochromatic scale

Palettes built from #eb7edd

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.

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

#eb7edd, answered

What color is #eb7edd?

#eb7edd is a light vivid magenta / pink, closest to Violet (ΔE2000 2.9). It sits at 308° on the hue wheel with 73% saturation and 71% lightness, which reads as neutral.

What is the RGB value of #eb7edd?

rgb(235, 126, 221) — 235 red, 126 green and 221 blue out of 255, or 92.2% / 49.4% / 86.7% by channel.

Is #eb7edd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3780 and perceived brightness is 69%, so black text on it reaches 8.56:1.

Should I use black or white text on #eb7edd?

Black. It scores 8.56:1 against #eb7edd, versus 2.45:1 for white — AAA at any size.

What is the complementary color of #eb7edd?

#7EEB8C sits directly opposite on the wheel. Softer options are the split-complements #A7EB7E and #7EEBC3, which give the same contrast with far less vibration.

What colors go well with #eb7edd?

For interface work: #FAF4FA as the surface, #EDC0E7 for borders, #9B4B91 for secondary text, #2AB517 as an accent and #6E1162 for hover and pressed states. For a palette, the analogous pair #C37EEB and #EB7EA7 stays calm, while #7EEB8C is the loudest partner.

What is #eb7edd in CMYK for printing?

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

Is #eb7edd 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 #EB7EB5; nudged cooler, #D27DED.

Work with #eb7edd in the Color Lab