#D04D78#D04D78

#D04D78 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.7% C 0.169 H 3.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#D04D78
RGBrgb(208, 77, 120)
HSLhsl(340, 58%, 56%)
HSVhsv(340, 63%, 82%)
CMYKcmyk(0%, 63%, 42.3%, 18.4%)
CIE-LABlab(51.92, 55.27, 3.51)
CIE-LCHlch(51.92, 55.38, 3.64°)
OKLaboklab(60.74% 0.1687 0.0097)
OKLCHoklch(60.74% 0.169 3.3)
XYZxyz(32.0587, 20.0775, 19.9528)
Luminance0.2007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D78 #4DD0A5
analogous
#D04DBA #D04D78 #D0634D
triadic
#D04D78 #78D04D #4D78D0
tetradic
#D04D78 #BAD04D #4DD0A5 #634DD0
square
#D04D78 #BAD04D #4DD0A5 #634DD0
split-complementary
#D04D78 #4DD063 #4DBAD0
monochromatic
#812241 #B12F5A #D04D78 #DD7D9D #EAAEC1

Accessibility & contrast

On white

4.19
#D04D78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#D04D78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04D78
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04D78#FFFFFF#000000##000000
##D04D781.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C79
Deuteranopia (green-blind)
#8A8575
Tritanopia (blue-blind)
#E13D5E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d04d78;
/* rgb */ color: rgb(208, 77, 120);
/* oklch */ color: oklch(60.7% 0.169 3.3);
Tailwind
colors: {
  custom: {
    50: '#e3869e',
    500: '#d04d78',
    950: '#000000',
  },
}
SCSS
$custom: #d04d78;
$custom-light: #e3869e;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d78",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 120
  },
  "hsl": {
    "h": 340.305,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60744,
    "c": 0.16901,
    "h": 3.3
  },
  "luminance": 0.20074
}

Semantic roles & 50–950 ramp

primary
#D04D78
secondary
#A1D8C6
accent
#E1AF46
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #D04D78

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

Preview Lab → · Contrast checker → · Palette generator →

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