#DB4879#DB4879

#DB4879 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.186 H 4.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#DB4879
RGBrgb(219, 72, 121)
HSLhsl(340, 67%, 57%)
HSVhsv(340, 67%, 86%)
CMYKcmyk(0%, 67.1%, 44.7%, 14.1%)
CIE-LABlab(53.04, 60.76, 4.75)
CIE-LCHlch(53.04, 60.94, 4.47°)
OKLaboklab(61.93% 0.1857 0.0129)
OKLCHoklch(61.93% 0.186 4)
XYZxyz(34.9846, 21.0797, 20.3119)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4879 #48DBAA
analogous
#DB48C3 #DB4879 #DB6148
triadic
#DB4879 #79DB48 #4879DB
tetradic
#DB4879 #C3DB48 #48DBAA #6148DB
square
#DB4879 #C3DB48 #48DBAA #6148DB
split-complementary
#DB4879 #48DB61 #48C3DB
monochromatic
#8D1C41 #C02659 #DB4879 #E57B9E #EFAEC4

Accessibility & contrast

On white

4.03
#DB4879 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#DB4879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4879
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4879#FFFFFF#000000##000000
##DB48791.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C7A
Deuteranopia (green-blind)
#8E8976
Tritanopia (blue-blind)
#ED335C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #db4879;
/* rgb */ color: rgb(219, 72, 121);
/* oklch */ color: oklch(61.9% 0.186 4.0);
Tailwind
colors: {
  custom: {
    50: '#ec849f',
    500: '#db4879',
    950: '#000000',
  },
}
SCSS
$custom: #db4879;
$custom-light: #ec849f;
$custom-dark: #000000;
JSON
{
  "hex": "#db4879",
  "rgb": {
    "r": 219,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 340,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61926,
    "c": 0.1861,
    "h": 4
  },
  "luminance": 0.21075
}

Semantic roles & 50–950 ramp

primary
#DB4879
secondary
#A2DDC9
accent
#EAB13E
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DB4879

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#DB4879 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva