Skip to content

#db7fbc

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

RGB
219, 127, 188
HSL
320°, 56%, 68%
CMYK
0, 42, 14, 14
Luminance
0.3387

At a glance

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

Hex
#db7fbc
Hue
320°
magenta / pink
Saturation
56%
vivid
Lightness
68%
light
Brightness
86%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3387
WCAG relative
Temperature
Warm
39/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.77:1
Closest name
Hot Pink
ΔE2000 7.2
Where it sits
Hue320° of 360°
Saturation56%
Lightness68%
Temperature
Warm ← → Cool39% 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#db7fbc
RGBrgb(219, 127, 188)
HSLhsl(320, 56%, 68%)
CMYKcmyk(0%, 42%, 14%, 14%)
LABlab(64.9 43.7 -16.6)
LCHlch(64.9 46.7 339.2)
OKLCHoklch(0.715 0.136 341.0)
Decimal14385084
Display P3color(display-p3 0.859 0.498 0.737)

Copy-ready code

/* CSS */
color: #db7fbc;
background-color: #db7fbc;
/* Tailwind (arbitrary) */
class="text-[#db7fbc] bg-[#db7fbc]"
/* SCSS */
$brand: #db7fbc;
/* SwiftUI */
Color(red: 0.859, green: 0.498, blue: 0.737)
/* Android */
Color.parseColor("#db7fbc")
/* Flutter */
Color(0xFFDB7FBC)
/* Python / OpenCV (BGR) */
(188, 127, 219)

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

Accessibility — WCAG contrast

Aa
#db7fbc on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#db7fbc on black: 7.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8394BE
deuteranopia · #9BA3B9
tritanopia · #E58096

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #db7fbc 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
#F6E9F2
#EECDE3
#E6A7D1
#db7fbc
#CE50A3
#BF3691
#9F2D79
#7F2461
#5D1E48
#3A132D
Base = 400Lightest = 50 · #FBF4F8Darkest = 950 · #3A132D
:root {
  --brand-50: #FBF4F8;
  --brand-100: #F6E9F2;
  --brand-200: #EECDE3;
  --brand-300: #E6A7D1;
  --brand-400: #db7fbc;
  --brand-500: #CE50A3;
  --brand-600: #BF3691;
  --brand-700: #9F2D79;
  --brand-800: #7F2461;
  --brand-900: #5D1E48;
  --brand-950: #3A132D;
  --brand: #db7fbc;
  --brand-ink: #000000;
}

Colors that work with #db7fbc

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#EDC0DE
Hairlines and dividers
Muted text#9B4B80
Captions on the surface
Accent#29A333
Second voice, not a rival
Dark variant#641C4B
Hover, pressed, headers
Light variant#F9EBF5
Selected rows, tints
Dark surface#24141F
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 #db7fbc

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#7FDB9E
Analogous left#CC7FDB
Analogous right#DB7F8E
Split-complement 1#8EDB7F
Split-complement 2#7FDBCC
Triadic 1#BCDB7F
Triadic 2#7FBCDB
Tetradic#DBCC7F

RGB percentages

Red85.9%
Green49.8%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta42.0%
Yellow14.2%
Key (black)14.1%

Color previews

#db7fbc text on a black background

contrast 7.77:1

Card sample

#db7fbc text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(219, 127, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 127, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #db7fbc;
background: linear-gradient(135deg, #db7fbc, #DB7F7F);

Monochromatic scale

Palettes built from #db7fbc

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.

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

#db7fbc, answered

What color is #db7fbc?

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

What is the RGB value of #db7fbc?

rgb(219, 127, 188) — 219 red, 127 green and 188 blue out of 255, or 85.9% / 49.8% / 73.7% by channel.

Is #db7fbc a light or a dark color?

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

Should I use black or white text on #db7fbc?

Black. It scores 7.77:1 against #db7fbc, versus 2.70:1 for white — AAA at any size.

What is the complementary color of #db7fbc?

#7FDB9E sits directly opposite on the wheel. Softer options are the split-complements #8EDB7F and #7FDBCC, which give the same contrast with far less vibration.

What colors go well with #db7fbc?

For interface work: #FAF4F8 as the surface, #EDC0DE for borders, #9B4B80 for secondary text, #29A333 as an accent and #641C4B for hover and pressed states. For a palette, the analogous pair #CC7FDB and #DB7F8E stays calm, while #7FDB9E is the loudest partner.

What is #db7fbc in CMYK for printing?

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

Is #db7fbc warm or cool?

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

Work with #db7fbc in the Color Lab