Skip to content

#db7da2

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

RGB
219, 125, 162
HSL
336°, 57%, 68%
CMYK
0, 43, 26, 14
Luminance
0.3234

At a glance

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

Hex
#db7da2
Hue
336°
magenta / pink
Saturation
57%
vivid
Lightness
68%
light
Brightness
86%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3234
WCAG relative
Temperature
Warm
30/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.47:1
Closest name
Pale Violet Red
ΔE2000 3.8
Where it sits
Hue336° of 360°
Saturation57%
Lightness68%
Temperature
Warm ← → Cool30% 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#db7da2
RGBrgb(219, 125, 162)
HSLhsl(336, 57%, 68%)
CMYKcmyk(0%, 43%, 26%, 14%)
LABlab(63.6 40.9 -3.7)
LCHlch(63.6 41.0 354.8)
OKLCHoklch(0.702 0.123 355.7)
Decimal14384546
Display P3color(display-p3 0.859 0.490 0.635)

Copy-ready code

/* CSS */
color: #db7da2;
background-color: #db7da2;
/* Tailwind (arbitrary) */
class="text-[#db7da2] bg-[#db7da2]"
/* SCSS */
$brand: #db7da2;
/* SwiftUI */
Color(red: 0.859, green: 0.490, blue: 0.635)
/* Android */
Color.parseColor("#db7da2")
/* Flutter */
Color(0xFFDB7DA2)
/* Python / OpenCV (BGR) */
(162, 125, 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 #db7da2 · 7.47:1
Use #000000AAA at every size.
Aa
White text · 2.81:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.47:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #db7da2 as text scores 2.81:1 on white and 7.47:1 on black.

Accessibility — WCAG contrast

Aa
#db7da2 on white: 2.81:1
AA ✗ fail · AA-large · AAA
Aa
#db7da2 on black: 7.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8990A3
deuteranopia · #A1A0A0
tritanopia · #E8788A

Color scale — 50 to 950

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

#FBF4F7
#F6E9EE
#EECDDA
#E7A7C0
#db7da2
#CE4F81
#C0356C
#A02C5A
#802348
#5D1D36
#3A1222
Base = 400Lightest = 50 · #FBF4F7Darkest = 950 · #3A1222
:root {
  --brand-50: #FBF4F7;
  --brand-100: #F6E9EE;
  --brand-200: #EECDDA;
  --brand-300: #E7A7C0;
  --brand-400: #db7da2;
  --brand-500: #CE4F81;
  --brand-600: #C0356C;
  --brand-700: #A02C5A;
  --brand-800: #802348;
  --brand-900: #5D1D36;
  --brand-950: #3A1222;
  --brand: #db7da2;
  --brand-ink: #000000;
}

Colors that work with #db7da2

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#EDC0D1
Hairlines and dividers
Muted text#9B4B6A
Captions on the surface
Accent#29A355
Second voice, not a rival
Dark variant#641C38
Hover, pressed, headers
Light variant#F9EBF1
Selected rows, tints
Dark surface#24141A
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 #db7da2

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#7DDBB6
Analogous left#DB7DD1
Analogous right#DB877D
Split-complement 1#7DDB87
Split-complement 2#7DD1DB
Triadic 1#A2DB7D
Triadic 2#7DA2DB
Tetradic#D1DB7D

RGB percentages

Red85.9%
Green49.0%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta42.9%
Yellow26.0%
Key (black)14.1%

Color previews

#db7da2 text on a black background

contrast 7.47:1

Card sample

#db7da2 text on a white background

contrast 2.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db7da2

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.

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

#db7da2, answered

What color is #db7da2?

#db7da2 is a light vivid magenta / pink, closest to Pale Violet Red (ΔE2000 3.8). It sits at 336° on the hue wheel with 57% saturation and 68% lightness, which reads as warm.

What is the RGB value of #db7da2?

rgb(219, 125, 162) — 219 red, 125 green and 162 blue out of 255, or 85.9% / 49% / 63.5% by channel.

Is #db7da2 a light or a dark color?

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

Should I use black or white text on #db7da2?

Black. It scores 7.47:1 against #db7da2, versus 2.81:1 for white — AAA at any size.

What is the complementary color of #db7da2?

#7DDBB6 sits directly opposite on the wheel. Softer options are the split-complements #7DDB87 and #7DD1DB, which give the same contrast with far less vibration.

What colors go well with #db7da2?

For interface work: #FAF4F7 as the surface, #EDC0D1 for borders, #9B4B6A for secondary text, #29A355 as an accent and #641C38 for hover and pressed states. For a palette, the analogous pair #DB7DD1 and #DB877D stays calm, while #7DDBB6 is the loudest partner.

What is #db7da2 in CMYK for printing?

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

Is #db7da2 warm or cool?

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

Work with #db7da2 in the Color Lab