Skip to content

#db2f76

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

RGB
219, 47, 118
HSL
335°, 71%, 52%
CMYK
0, 79, 46, 14
Luminance
0.1840

At a glance

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

Hex
#db2f76
Hue
335°
magenta / pink
Saturation
71%
vivid
Lightness
52%
balanced
Brightness
86%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1840
WCAG relative
Temperature
Warm
30/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.68:1
Closest name
Deep Pink
ΔE2000 7.5
Where it sits
Hue335° of 360°
Saturation71%
Lightness52%
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#db2f76
RGBrgb(219, 47, 118)
HSLhsl(335, 71%, 52%)
CMYKcmyk(0%, 79%, 46%, 14%)
LABlab(50.0 68.8 2.1)
LCHlch(50.0 68.8 1.8)
OKLCHoklch(0.597 0.211 1.7)
Decimal14364534
Display P3color(display-p3 0.859 0.184 0.463)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db2f76 on white: 4.49:1
AA ✗ fail · AA-large · AAA
Aa
#db2f76 on black: 4.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #596278
deuteranopia · #878372
tritanopia · #EE004F

Color scale — 50 to 950

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

#FCF3F7
#F8E7EE
#F2C9DA
#EE9FC0
#E670A1
#db2f76
#D1246B
#AE1E5A
#8B1848
#651636
#3F0D22
Base = 500Lightest = 50 · #FCF3F7Darkest = 950 · #3F0D22
:root {
  --brand-50: #FCF3F7;
  --brand-100: #F8E7EE;
  --brand-200: #F2C9DA;
  --brand-300: #EE9FC0;
  --brand-400: #E670A1;
  --brand-500: #db2f76;
  --brand-600: #D1246B;
  --brand-700: #AE1E5A;
  --brand-800: #8B1848;
  --brand-900: #651636;
  --brand-950: #3F0D22;
  --brand: #db2f76;
  --brand-ink: #000000;
}

Colors that work with #db2f76

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#EDC0D2
Hairlines and dividers
Muted text#9B4B6C
Captions on the surface
Accent#1AB24D
Second voice, not a rival
Dark variant#6D1338
Hover, pressed, headers
Light variant#FBE9F1
Selected rows, tints
Dark surface#24141B
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 #db2f76

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#2FDB94
Analogous left#DB2FCC
Analogous right#DB3E2F
Split-complement 1#2FDB3E
Split-complement 2#2FCCDB
Triadic 1#76DB2F
Triadic 2#2F76DB
Tetradic#CCDB2F

RGB percentages

Red85.9%
Green18.4%
Blue46.3%

CMYK percentages

Cyan0.0%
Magenta78.5%
Yellow46.1%
Key (black)14.1%

Color previews

#db2f76 text on a black background

contrast 4.68:1

Card sample

#db2f76 text on a white background

contrast 4.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db2f76

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.

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

#db2f76, answered

What color is #db2f76?

#db2f76 is a balanced vivid magenta / pink, closest to Deep Pink (ΔE2000 7.5). It sits at 335° on the hue wheel with 71% saturation and 52% lightness, which reads as warm.

What is the RGB value of #db2f76?

rgb(219, 47, 118) — 219 red, 47 green and 118 blue out of 255, or 85.9% / 18.4% / 46.3% by channel.

Is #db2f76 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1840 and perceived brightness is 51%, so black text on it reaches 4.68:1.

Should I use black or white text on #db2f76?

Black. It scores 4.68:1 against #db2f76, versus 4.49:1 for white — AA at any size.

What is the complementary color of #db2f76?

#2FDB94 sits directly opposite on the wheel. Softer options are the split-complements #2FDB3E and #2FCCDB, which give the same contrast with far less vibration.

What colors go well with #db2f76?

For interface work: #FAF4F7 as the surface, #EDC0D2 for borders, #9B4B6C for secondary text, #1AB24D as an accent and #6D1338 for hover and pressed states. For a palette, the analogous pair #DB2FCC and #DB3E2F stays calm, while #2FDB94 is the loudest partner.

What is #db2f76 in CMYK for printing?

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

Is #db2f76 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 #DB2F37; nudged cooler, #DD2DB7.

Work with #db2f76 in the Color Lab