Skip to content

#db5ba4

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

RGB
219, 91, 164
HSL
326°, 64%, 61%
CMYK
0, 58, 25, 14
Luminance
0.2522

At a glance

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

Hex
#db5ba4
Hue
326°
magenta / pink
Saturation
64%
vivid
Lightness
61%
balanced
Brightness
86%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2522
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
6.04:1
Closest name
Hot Pink
ΔE2000 7.5
Where it sits
Hue326° of 360°
Saturation64%
Lightness61%
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#db5ba4
RGBrgb(219, 91, 164)
HSLhsl(326, 64%, 61%)
CMYKcmyk(0%, 58%, 25%, 14%)
LABlab(57.3 57.7 -14.3)
LCHlch(57.3 59.4 346.1)
OKLCHoklch(0.655 0.178 347.8)
Decimal14375844
Display P3color(display-p3 0.859 0.357 0.643)

Copy-ready code

/* CSS */
color: #db5ba4;
background-color: #db5ba4;
/* Tailwind (arbitrary) */
class="text-[#db5ba4] bg-[#db5ba4]"
/* SCSS */
$brand: #db5ba4;
/* SwiftUI */
Color(red: 0.859, green: 0.357, blue: 0.643)
/* Android */
Color.parseColor("#db5ba4")
/* Flutter */
Color(0xFFDB5BA4)
/* Python / OpenCV (BGR) */
(164, 91, 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 #db5ba4 · 6.04:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.47:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.04:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #db5ba4 as text scores 3.47:1 on white and 6.04:1 on black.

Accessibility — WCAG contrast

Aa
#db5ba4 on white: 3.47:1
AA ✗ fail · AA-large · AAA
Aa
#db5ba4 on black: 6.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #697CA6
deuteranopia · #8D92A1
tritanopia · #E95878

Color scale — 50 to 950

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

#FBF4F8
#F7E8F1
#F1CBE0
#EBA3CC
#E175B2
#db5ba4
#C92C85
#A7256F
#861D59
#611942
#3D1029
Base = 500Lightest = 50 · #FBF4F8Darkest = 950 · #3D1029
:root {
  --brand-50: #FBF4F8;
  --brand-100: #F7E8F1;
  --brand-200: #F1CBE0;
  --brand-300: #EBA3CC;
  --brand-400: #E175B2;
  --brand-500: #db5ba4;
  --brand-600: #C92C85;
  --brand-700: #A7256F;
  --brand-800: #861D59;
  --brand-900: #611942;
  --brand-950: #3D1029;
  --brand: #db5ba4;
  --brand-ink: #000000;
}

Colors that work with #db5ba4

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#EDC0D9
Hairlines and dividers
Muted text#9B4B78
Captions on the surface
Accent#21AB3A
Second voice, not a rival
Dark variant#691745
Hover, pressed, headers
Light variant#FAEAF3
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 #db5ba4

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#5BDB92
Analogous left#D25BDB
Analogous right#DB5B64
Split-complement 1#64DB5B
Split-complement 2#5BDBD2
Triadic 1#A4DB5B
Triadic 2#5BA4DB
Tetradic#DBD25B

RGB percentages

Red85.9%
Green35.7%
Blue64.3%

CMYK percentages

Cyan0.0%
Magenta58.4%
Yellow25.1%
Key (black)14.1%

Color previews

#db5ba4 text on a black background

contrast 6.04:1

Card sample

#db5ba4 text on a white background

contrast 3.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db5ba4

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.

#db5ba4 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
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#db5ba4, answered

What color is #db5ba4?

#db5ba4 is a balanced vivid magenta / pink, closest to Hot Pink (ΔE2000 7.5). It sits at 326° on the hue wheel with 64% saturation and 61% lightness, which reads as warm.

What is the RGB value of #db5ba4?

rgb(219, 91, 164) — 219 red, 91 green and 164 blue out of 255, or 85.9% / 35.7% / 64.3% by channel.

Is #db5ba4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2522 and perceived brightness is 59%, so black text on it reaches 6.04:1.

Should I use black or white text on #db5ba4?

Black. It scores 6.04:1 against #db5ba4, versus 3.47:1 for white — AA at any size.

What is the complementary color of #db5ba4?

#5BDB92 sits directly opposite on the wheel. Softer options are the split-complements #64DB5B and #5BDBD2, which give the same contrast with far less vibration.

What colors go well with #db5ba4?

For interface work: #FAF4F8 as the surface, #EDC0D9 for borders, #9B4B78 for secondary text, #21AB3A as an accent and #691745 for hover and pressed states. For a palette, the analogous pair #D25BDB and #DB5B64 stays calm, while #5BDB92 is the loudest partner.

What is #db5ba4 in CMYK for printing?

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

Is #db5ba4 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 #DB5B75; nudged cooler, #DD59D5.

Work with #db5ba4 in the Color Lab