#DB4878#DB4878

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

Color values

HEX#DB4878
RGBrgb(219, 72, 120)
HSLhsl(340, 67%, 57%)
HSVhsv(340, 67%, 86%)
CMYKcmyk(0%, 67.1%, 45.2%, 14.1%)
CIE-LABlab(53.01, 60.67, 5.31)
CIE-LCHlch(53.01, 60.90, 5.00°)
OKLaboklab(61.9% 0.1853 0.0143)
OKLCHoklch(61.9% 0.186 4.4)
XYZxyz(34.9236, 21.0552, 19.9907)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4878 #48DBAB
analogous
#DB48C2 #DB4878 #DB6248
triadic
#DB4878 #78DB48 #4878DB
tetradic
#DB4878 #C2DB48 #48DBAB #6248DB
square
#DB4878 #C2DB48 #48DBAB #6248DB
split-complementary
#DB4878 #48DB62 #48C2DB
monochromatic
#8D1C41 #C02658 #DB4878 #E57B9E #EFAEC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB4878#FFFFFF#000000##000000
##DB48781.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)
#686C79
Deuteranopia (green-blind)
#8F8975
Tritanopia (blue-blind)
#ED335B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #db4878;
/* rgb */ color: rgb(219, 72, 120);
/* oklch */ color: oklch(61.9% 0.186 4.4);
Tailwind
colors: {
  custom: {
    50: '#ec849e',
    500: '#db4878',
    950: '#000000',
  },
}
SCSS
$custom: #db4878;
$custom-light: #ec849e;
$custom-dark: #000000;
JSON
{
  "hex": "#db4878",
  "rgb": {
    "r": 219,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 340.408,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61898,
    "c": 0.18585,
    "h": 4.4
  },
  "luminance": 0.21051
}

Semantic roles & 50–950 ramp

primary
#DB4878
secondary
#A2DDCA
accent
#EAB23E
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DB4878

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

Preview Lab → · Contrast checker → · Palette generator →

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