Skip to content

#d78eb3

a light, vivid magenta / pink · warm · closest name: Pale Violet Red

RGB
215, 142, 179
HSL
330°, 48%, 70%
CMYK
0, 34, 17, 16
Luminance
0.3705

At a glance

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

Hex
#d78eb3
Hue
330°
magenta / pink
Saturation
48%
vivid
Lightness
70%
light
Brightness
84%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3705
WCAG relative
Temperature
Warm
34/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
8.41:1
Closest name
Pale Violet Red
ΔE2000 8.7
Where it sits
Hue330° of 360°
Saturation48%
Lightness70%
Temperature
Warm ← → Cool34% 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#d78eb3
RGBrgb(215, 142, 179)
HSLhsl(330, 48%, 70%)
CMYKcmyk(0%, 34%, 17%, 16%)
LABlab(67.3 33.0 -7.9)
LCHlch(67.3 33.9 346.5)
OKLCHoklch(0.731 0.100 348.1)
Decimal14126771
Display P3color(display-p3 0.843 0.557 0.702)

Copy-ready code

/* CSS */
color: #d78eb3;
background-color: #d78eb3;
/* Tailwind (arbitrary) */
class="text-[#d78eb3] bg-[#d78eb3]"
/* SCSS */
$brand: #d78eb3;
/* SwiftUI */
Color(red: 0.843, green: 0.557, blue: 0.702)
/* Android */
Color.parseColor("#d78eb3")
/* Flutter */
Color(0xFFD78EB3)
/* Python / OpenCV (BGR) */
(179, 142, 215)

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

Accessibility — WCAG contrast

Aa
#d78eb3 on white: 2.50:1
AA ✗ fail · AA-large · AAA
Aa
#d78eb3 on black: 8.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #949DB4
deuteranopia · #A6A8B1
tritanopia · #E18D9B

Color scale — 50 to 950

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

#FAF5F7
#F5EAF0
#ECD0DE
#E2ACC7
#d78eb3
#C45990
#B5407B
#973567
#792B52
#58223E
#371526
Base = 400Lightest = 50 · #FAF5F7Darkest = 950 · #371526
:root {
  --brand-50: #FAF5F7;
  --brand-100: #F5EAF0;
  --brand-200: #ECD0DE;
  --brand-300: #E2ACC7;
  --brand-400: #d78eb3;
  --brand-500: #C45990;
  --brand-600: #B5407B;
  --brand-700: #973567;
  --brand-800: #792B52;
  --brand-900: #58223E;
  --brand-950: #371526;
  --brand: #d78eb3;
  --brand-ink: #000000;
}

Colors that work with #d78eb3

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#EAC3D6
Hairlines and dividers
Muted text#9B4B73
Captions on the surface
Accent#319B4B
Second voice, not a rival
Dark variant#5E2140
Hover, pressed, headers
Light variant#F8ECF2
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 #d78eb3

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#8ED7B2
Analogous left#D78ED7
Analogous right#D78E8E
Split-complement 1#8ED78E
Split-complement 2#8ED7D7
Triadic 1#B3D78E
Triadic 2#8EB3D7
Tetradic#D7D78E

RGB percentages

Red84.3%
Green55.7%
Blue70.2%

CMYK percentages

Cyan0.0%
Magenta34.0%
Yellow16.7%
Key (black)15.7%

Color previews

#d78eb3 text on a black background

contrast 8.41:1

Card sample

#d78eb3 text on a white background

contrast 2.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(215, 142, 179, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(215, 142, 179, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d78eb3;
background: linear-gradient(135deg, #d78eb3, #D79A8E);

Monochromatic scale

Palettes built from #d78eb3

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.

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

#d78eb3, answered

What color is #d78eb3?

#d78eb3 is a light vivid magenta / pink, closest to Pale Violet Red (ΔE2000 8.7). It sits at 330° on the hue wheel with 48% saturation and 70% lightness, which reads as warm.

What is the RGB value of #d78eb3?

rgb(215, 142, 179) — 215 red, 142 green and 179 blue out of 255, or 84.3% / 55.7% / 70.2% by channel.

Is #d78eb3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3705 and perceived brightness is 67%, so black text on it reaches 8.41:1.

Should I use black or white text on #d78eb3?

Black. It scores 8.41:1 against #d78eb3, versus 2.50:1 for white — AAA at any size.

What is the complementary color of #d78eb3?

#8ED7B2 sits directly opposite on the wheel. Softer options are the split-complements #8ED78E and #8ED7D7, which give the same contrast with far less vibration.

What colors go well with #d78eb3?

For interface work: #FAF4F7 as the surface, #EAC3D6 for borders, #9B4B73 for secondary text, #319B4B as an accent and #5E2140 for hover and pressed states. For a palette, the analogous pair #D78ED7 and #D78E8E stays calm, while #8ED7B2 is the loudest partner.

What is #d78eb3 in CMYK for printing?

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

Is #d78eb3 warm or cool?

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

Work with #d78eb3 in the Color Lab