Skip to content

#db079c

a dark, electric magenta / pink · warm · closest name: Medium Violet Red

RGB
219, 7, 156
HSL
318°, 94%, 44%
CMYK
0, 97, 29, 14
Luminance
0.1761

At a glance

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

Hex
#db079c
Hue
318°
magenta / pink
Saturation
94%
electric
Lightness
44%
dark
Brightness
86%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1761
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.64:1
Closest name
Medium Violet Red
ΔE2000 5
Where it sits
Hue318° of 360°
Saturation94%
Lightness44%
Temperature
Warm ← → Cool40% 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#db079c
RGBrgb(219, 7, 156)
HSLhsl(318, 94%, 44%)
CMYKcmyk(0%, 97%, 29%, 14%)
LABlab(49.0 79.1 -22.2)
LCHlch(49.0 82.1 344.3)
OKLCHoklch(0.594 0.249 346.3)
Decimal14354332
Display P3color(display-p3 0.859 0.027 0.612)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db079c on white: 4.64:1
AA ✓ pass · AA-large · AAA
Aa
#db079c on black: 4.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3A609F
deuteranopia · #788098
tritanopia · #EB005C

Color scale — 50 to 950

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

#FDF2FA
#FBE4F4
#FAC2E9
#FC92DC
#FA5CCB
#F826BA
#db079c
#C6068D
#9E0571
#720853
#470534
Base = 600Lightest = 50 · #FDF2FADarkest = 950 · #470534
:root {
  --brand-50: #FDF2FA;
  --brand-100: #FBE4F4;
  --brand-200: #FAC2E9;
  --brand-300: #FC92DC;
  --brand-400: #FA5CCB;
  --brand-500: #F826BA;
  --brand-600: #db079c;
  --brand-700: #C6068D;
  --brand-800: #9E0571;
  --brand-900: #720853;
  --brand-950: #470534;
  --brand: #db079c;
  --brand-ink: #ffffff;
}

Colors that work with #db079c

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4F9
Tinted page background
Border#EDC0DF
Hairlines and dividers
Muted text#9B4B83
Captions on the surface
Accent#02CA0C
Second voice, not a rival
Dark variant#7C0458
Hover, pressed, headers
Light variant#FEE6F7
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 #db079c

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

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black 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#07DB46
Analogous left#B007DB
Analogous right#DB0732
Split-complement 1#32DB07
Split-complement 2#07DBB0
Triadic 1#9CDB07
Triadic 2#079CDB
Tetradic#DBB007

RGB percentages

Red85.9%
Green2.7%
Blue61.2%

CMYK percentages

Cyan0.0%
Magenta96.8%
Yellow28.8%
Key (black)14.1%

Color previews

#db079c text on a black background

contrast 4.52:1

Card sample

#db079c text on a white background

contrast 4.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db079c

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.

#db079c 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#db079c, answered

What color is #db079c?

#db079c is a dark electric magenta / pink, closest to Medium Violet Red (ΔE2000 5). It sits at 318° on the hue wheel with 94% saturation and 44% lightness, which reads as warm.

What is the RGB value of #db079c?

rgb(219, 7, 156) — 219 red, 7 green and 156 blue out of 255, or 85.9% / 2.7% / 61.2% by channel.

Is #db079c a light or a dark color?

It is a dark color. Relative luminance is 0.1761 and perceived brightness is 51%, so white text on it reaches 4.64:1.

Should I use black or white text on #db079c?

White. It scores 4.64:1 against #db079c, versus 4.52:1 for black — AA at any size.

What is the complementary color of #db079c?

#07DB46 sits directly opposite on the wheel. Softer options are the split-complements #32DB07 and #07DBB0, which give the same contrast with far less vibration.

What colors go well with #db079c?

For interface work: #FAF4F9 as the surface, #EDC0DF for borders, #9B4B83 for secondary text, #02CA0C as an accent and #7C0458 for hover and pressed states. For a palette, the analogous pair #B007DB and #DB0732 stays calm, while #07DB46 is the loudest partner.

What is #db079c in CMYK for printing?

cmyk(0%, 97%, 29%, 14%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #db079c warm or cool?

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

Work with #db079c in the Color Lab