Skip to content

#db007d

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

RGB
219, 0, 125
HSL
326°, 100%, 43%
CMYK
0, 100, 43, 14
Luminance
0.1654

At a glance

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

Hex
#db007d
Hue
326°
magenta / pink
Saturation
100%
electric
Lightness
43%
dark
Brightness
86%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1654
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.87:1
Closest name
Medium Violet Red
ΔE2000 5
Where it sits
Hue326° of 360°
Saturation100%
Lightness43%
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#db007d
RGBrgb(219, 0, 125)
HSLhsl(326, 100%, 43%)
CMYKcmyk(0%, 100%, 43%, 14%)
LABlab(47.7 76.6 -5.5)
LCHlch(47.7 76.8 355.9)
OKLCHoklch(0.580 0.237 356.7)
Decimal14352509
Display P3color(display-p3 0.859 0.000 0.490)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db007d on white: 4.87:1
AA ✓ pass · AA-large · AAA
Aa
#db007d on black: 4.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #495A7F
deuteranopia · #7F7E79
tritanopia · #EE0048

Color scale — 50 to 950

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

#FEF1F8
#FCE3F1
#FCC0E2
#FF8FCF
#FF57B7
#FF1F9F
#F5008C
#db007d
#A3005D
#760545
#49032B
Base = 700Lightest = 50 · #FEF1F8Darkest = 950 · #49032B
:root {
  --brand-50: #FEF1F8;
  --brand-100: #FCE3F1;
  --brand-200: #FCC0E2;
  --brand-300: #FF8FCF;
  --brand-400: #FF57B7;
  --brand-500: #FF1F9F;
  --brand-600: #F5008C;
  --brand-700: #db007d;
  --brand-800: #A3005D;
  --brand-900: #760545;
  --brand-950: #49032B;
  --brand: #db007d;
  --brand-ink: #ffffff;
}

Colors that work with #db007d

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#FAF4F8
Tinted page background
Border#EDC0D9
Hairlines and dividers
Muted text#9B4B78
Captions on the surface
Accent#00CC24
Second voice, not a rival
Dark variant#800049
Hover, pressed, headers
Light variant#FFE5F4
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 #db007d

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

Works well for
  • Body text and links on white
  • 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#00DB5E
Analogous left#CB00DB
Analogous right#DB000F
Split-complement 1#0FDB00
Split-complement 2#00DBCB
Triadic 1#7DDB00
Triadic 2#007DDB
Tetradic#DBCB00

RGB percentages

Red85.9%
Green0.0%
Blue49.0%

CMYK percentages

Cyan0.0%
Magenta100.0%
Yellow42.9%
Key (black)14.1%

Color previews

#db007d text on a black background

contrast 4.31:1

Card sample

#db007d text on a white background

contrast 4.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db007d

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.

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

#db007d, answered

What color is #db007d?

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

What is the RGB value of #db007d?

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

Is #db007d a light or a dark color?

It is a dark color. Relative luminance is 0.1654 and perceived brightness is 50%, so white text on it reaches 4.87:1.

Should I use black or white text on #db007d?

White. It scores 4.87:1 against #db007d, versus 4.31:1 for black — AA at any size.

What is the complementary color of #db007d?

#00DB5E sits directly opposite on the wheel. Softer options are the split-complements #0FDB00 and #00DBCB, which give the same contrast with far less vibration.

What colors go well with #db007d?

For interface work: #FAF4F8 as the surface, #EDC0D9 for borders, #9B4B78 for secondary text, #00CC24 as an accent and #800049 for hover and pressed states. For a palette, the analogous pair #CB00DB and #DB000F stays calm, while #00DB5E is the loudest partner.

What is #db007d in CMYK for printing?

cmyk(0%, 100%, 43%, 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 #db007d 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 #DB002C; nudged cooler, #DB00CD.

Work with #db007d in the Color Lab