Skip to content

#d47eb4

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

RGB
212, 126, 180
HSL
322°, 50%, 66%
CMYK
0, 41, 15, 17
Luminance
0.3221

At a glance

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

Hex
#d47eb4
Hue
322°
magenta / pink
Saturation
50%
vivid
Lightness
66%
light
Brightness
83%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3221
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.44:1
Closest name
Hot Pink
ΔE2000 7.8
Where it sits
Hue322° of 360°
Saturation50%
Lightness66%
Temperature
Warm ← → Cool38% 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#d47eb4
RGBrgb(212, 126, 180)
HSLhsl(322, 50%, 66%)
CMYKcmyk(0%, 41%, 15%, 17%)
LABlab(63.5 40.6 -14.2)
LCHlch(63.5 43.0 340.7)
OKLCHoklch(0.702 0.125 342.5)
Decimal13926068
Display P3color(display-p3 0.831 0.494 0.706)

Copy-ready code

/* CSS */
color: #d47eb4;
background-color: #d47eb4;
/* Tailwind (arbitrary) */
class="text-[#d47eb4] bg-[#d47eb4]"
/* SCSS */
$brand: #d47eb4;
/* SwiftUI */
Color(red: 0.831, green: 0.494, blue: 0.706)
/* Android */
Color.parseColor("#d47eb4")
/* Flutter */
Color(0xFFD47EB4)
/* Python / OpenCV (BGR) */
(180, 126, 212)

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

Accessibility — WCAG contrast

Aa
#d47eb4 on white: 2.82:1
AA ✗ fail · AA-large · AAA
Aa
#d47eb4 on black: 7.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8391B6
deuteranopia · #999FB2
tritanopia · #DE7E92

Color scale — 50 to 950

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

#FAF4F8
#F6EAF1
#ECCFE2
#E3ABCE
#d47eb4
#C7579D
#B83D8A
#993373
#7A295C
#592144
#38152B
Base = 400Lightest = 50 · #FAF4F8Darkest = 950 · #38152B
:root {
  --brand-50: #FAF4F8;
  --brand-100: #F6EAF1;
  --brand-200: #ECCFE2;
  --brand-300: #E3ABCE;
  --brand-400: #d47eb4;
  --brand-500: #C7579D;
  --brand-600: #B83D8A;
  --brand-700: #993373;
  --brand-800: #7A295C;
  --brand-900: #592144;
  --brand-950: #38152B;
  --brand: #d47eb4;
  --brand-ink: #000000;
}

Colors that work with #d47eb4

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#FAF4F8
Tinted page background
Border#EBC2DB
Hairlines and dividers
Muted text#9B4B7D
Captions on the surface
Accent#2F9D3D
Second voice, not a rival
Dark variant#602048
Hover, pressed, headers
Light variant#F9ECF4
Selected rows, tints
Dark surface#24141E
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 #d47eb4

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#7ED49E
Analogous left#C97ED4
Analogous right#D47E89
Split-complement 1#89D47E
Split-complement 2#7ED4C9
Triadic 1#B4D47E
Triadic 2#7EB4D4
Tetradic#D4C97E

RGB percentages

Red83.1%
Green49.4%
Blue70.6%

CMYK percentages

Cyan0.0%
Magenta40.6%
Yellow15.1%
Key (black)16.9%

Color previews

#d47eb4 text on a black background

contrast 7.44:1

Card sample

#d47eb4 text on a white background

contrast 2.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d47eb4

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.

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

#d47eb4, answered

What color is #d47eb4?

#d47eb4 is a light vivid magenta / pink, closest to Hot Pink (ΔE2000 7.8). It sits at 322° on the hue wheel with 50% saturation and 66% lightness, which reads as warm.

What is the RGB value of #d47eb4?

rgb(212, 126, 180) — 212 red, 126 green and 180 blue out of 255, or 83.1% / 49.4% / 70.6% by channel.

Is #d47eb4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3221 and perceived brightness is 64%, so black text on it reaches 7.44:1.

Should I use black or white text on #d47eb4?

Black. It scores 7.44:1 against #d47eb4, versus 2.82:1 for white — AAA at any size.

What is the complementary color of #d47eb4?

#7ED49E sits directly opposite on the wheel. Softer options are the split-complements #89D47E and #7ED4C9, which give the same contrast with far less vibration.

What colors go well with #d47eb4?

For interface work: #FAF4F8 as the surface, #EBC2DB for borders, #9B4B7D for secondary text, #2F9D3D as an accent and #602048 for hover and pressed states. For a palette, the analogous pair #C97ED4 and #D47E89 stays calm, while #7ED49E is the loudest partner.

What is #d47eb4 in CMYK for printing?

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

Is #d47eb4 warm or cool?

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

Work with #d47eb4 in the Color Lab