Skip to content

#db7fac

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

RGB
219, 127, 172
HSL
331°, 56%, 68%
CMYK
0, 42, 22, 14
Luminance
0.3322

At a glance

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

Hex
#db7fac
Hue
331°
magenta / pink
Saturation
56%
vivid
Lightness
68%
light
Brightness
86%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3322
WCAG relative
Temperature
Warm
33/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.64:1
Closest name
Pale Violet Red
ΔE2000 5.8
Where it sits
Hue331° of 360°
Saturation56%
Lightness68%
Temperature
Warm ← → Cool33% 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#db7fac
RGBrgb(219, 127, 172)
HSLhsl(331, 56%, 68%)
CMYKcmyk(0%, 42%, 22%, 14%)
LABlab(64.3 41.2 -8.3)
LCHlch(64.3 42.1 348.6)
OKLCHoklch(0.709 0.125 350.1)
Decimal14385068
Display P3color(display-p3 0.859 0.498 0.675)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db7fac on white: 2.75:1
AA ✗ fail · AA-large · AAA
Aa
#db7fac on black: 7.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8892AE
deuteranopia · #9FA2AA
tritanopia · #E77C8F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #db7fac 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
#F6E9F0
#EECDDD
#E6A7C6
#db7fac
#CE508D
#BF3679
#9F2D65
#7F2451
#5D1E3C
#3A1326
Base = 400Lightest = 50 · #FBF4F7Darkest = 950 · #3A1326
:root {
  --brand-50: #FBF4F7;
  --brand-100: #F6E9F0;
  --brand-200: #EECDDD;
  --brand-300: #E6A7C6;
  --brand-400: #db7fac;
  --brand-500: #CE508D;
  --brand-600: #BF3679;
  --brand-700: #9F2D65;
  --brand-800: #7F2451;
  --brand-900: #5D1E3C;
  --brand-950: #3A1326;
  --brand: #db7fac;
  --brand-ink: #000000;
}

Colors that work with #db7fac

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#EDC0D6
Hairlines and dividers
Muted text#9B4B72
Captions on the surface
Accent#29A348
Second voice, not a rival
Dark variant#641C3F
Hover, pressed, headers
Light variant#F9EBF2
Selected rows, tints
Dark surface#24141C
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 #db7fac

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#7FDBAE
Analogous left#DB7FDA
Analogous right#DB807F
Split-complement 1#7FDB80
Split-complement 2#7FDADB
Triadic 1#ACDB7F
Triadic 2#7FACDB
Tetradic#DADB7F

RGB percentages

Red85.9%
Green49.8%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta42.0%
Yellow21.5%
Key (black)14.1%

Color previews

#db7fac text on a black background

contrast 7.64:1

Card sample

#db7fac text on a white background

contrast 2.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db7fac

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.

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

#db7fac, answered

What color is #db7fac?

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

What is the RGB value of #db7fac?

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

Is #db7fac a light or a dark color?

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

Should I use black or white text on #db7fac?

Black. It scores 7.64:1 against #db7fac, versus 2.75:1 for white — AAA at any size.

What is the complementary color of #db7fac?

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

What colors go well with #db7fac?

For interface work: #FAF4F7 as the surface, #EDC0D6 for borders, #9B4B72 for secondary text, #29A348 as an accent and #641C3F for hover and pressed states. For a palette, the analogous pair #DB7FDA and #DB807F stays calm, while #7FDBAE is the loudest partner.

What is #db7fac in CMYK for printing?

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

Is #db7fac warm or cool?

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

Work with #db7fac in the Color Lab