Skip to content

#dc7eb4

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

RGB
220, 126, 180
HSL
326°, 57%, 68%
CMYK
0, 43, 18, 14
Luminance
0.3343

At a glance

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

Hex
#dc7eb4
Hue
326°
magenta / pink
Saturation
57%
vivid
Lightness
68%
light
Brightness
86%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3343
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.69:1
Closest name
Hot Pink
ΔE2000 6.5
Where it sits
Hue326° of 360°
Saturation57%
Lightness68%
Temperature
Warm ← → Cool36% 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#dc7eb4
RGBrgb(220, 126, 180)
HSLhsl(326, 57%, 68%)
CMYKcmyk(0%, 43%, 18%, 14%)
LABlab(64.5 43.3 -12.6)
LCHlch(64.5 45.1 343.8)
OKLCHoklch(0.711 0.133 345.5)
Decimal14450356
Display P3color(display-p3 0.863 0.494 0.706)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#dc7eb4 on white: 2.73:1
AA ✗ fail · AA-large · AAA
Aa
#dc7eb4 on black: 7.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8593B6
deuteranopia · #9DA2B2
tritanopia · #E77D92

Color scale — 50 to 950

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

#FBF4F8
#F7E9F1
#EFCDE0
#E7A7CC
#dc7eb4
#CF4F98
#C13485
#A02C6F
#802359
#5D1D42
#3A1229
Base = 400Lightest = 50 · #FBF4F8Darkest = 950 · #3A1229
:root {
  --brand-50: #FBF4F8;
  --brand-100: #F7E9F1;
  --brand-200: #EFCDE0;
  --brand-300: #E7A7CC;
  --brand-400: #dc7eb4;
  --brand-500: #CF4F98;
  --brand-600: #C13485;
  --brand-700: #A02C6F;
  --brand-800: #802359;
  --brand-900: #5D1D42;
  --brand-950: #3A1229;
  --brand: #dc7eb4;
  --brand-ink: #000000;
}

Colors that work with #dc7eb4

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#EDC0DA
Hairlines and dividers
Muted text#9B4B79
Captions on the surface
Accent#28A43D
Second voice, not a rival
Dark variant#641B45
Hover, pressed, headers
Light variant#FAEBF3
Selected rows, tints
Dark surface#24141D
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 #dc7eb4

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#7EDCA6
Analogous left#D57EDC
Analogous right#DC7E85
Split-complement 1#85DC7E
Split-complement 2#7EDCD5
Triadic 1#B4DC7E
Triadic 2#7EB4DC
Tetradic#DCD57E

RGB percentages

Red86.3%
Green49.4%
Blue70.6%

CMYK percentages

Cyan0.0%
Magenta42.7%
Yellow18.2%
Key (black)13.7%

Color previews

#dc7eb4 text on a black background

contrast 7.69:1

Card sample

#dc7eb4 text on a white background

contrast 2.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc7eb4

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.

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

#dc7eb4, answered

What color is #dc7eb4?

#dc7eb4 is a light vivid magenta / pink, closest to Hot Pink (ΔE2000 6.5). It sits at 326° on the hue wheel with 57% saturation and 68% lightness, which reads as warm.

What is the RGB value of #dc7eb4?

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

Is #dc7eb4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3343 and perceived brightness is 65%, so black text on it reaches 7.69:1.

Should I use black or white text on #dc7eb4?

Black. It scores 7.69:1 against #dc7eb4, versus 2.73:1 for white — AAA at any size.

What is the complementary color of #dc7eb4?

#7EDCA6 sits directly opposite on the wheel. Softer options are the split-complements #85DC7E and #7EDCD5, which give the same contrast with far less vibration.

What colors go well with #dc7eb4?

For interface work: #FAF4F8 as the surface, #EDC0DA for borders, #9B4B79 for secondary text, #28A43D as an accent and #641B45 for hover and pressed states. For a palette, the analogous pair #D57EDC and #DC7E85 stays calm, while #7EDCA6 is the loudest partner.

What is #dc7eb4 in CMYK for printing?

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

Is #dc7eb4 warm or cool?

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

Work with #dc7eb4 in the Color Lab