#D04C78#D04C78

#D04C78 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.170 H 3.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#D04C78
RGBrgb(208, 76, 120)
HSLhsl(340, 58%, 56%)
HSVhsv(340, 63%, 82%)
CMYKcmyk(0%, 63.5%, 42.3%, 18.4%)
CIE-LABlab(51.77, 55.69, 3.29)
CIE-LCHlch(51.77, 55.79, 3.38°)
OKLaboklab(60.63% 0.1701 0.0091)
OKLCHoklch(60.63% 0.17 3.1)
XYZxyz(31.9892, 19.9386, 19.9296)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04C78 #4CD0A4
analogous
#D04CBA #D04C78 #D0624C
triadic
#D04C78 #78D04C #4C78D0
tetradic
#D04C78 #BAD04C #4CD0A4 #624CD0
square
#D04C78 #BAD04C #4CD0A4 #624CD0
split-complementary
#D04C78 #4CD062 #4CBAD0
monochromatic
#802241 #B02E5A #D04C78 #DD7C9D #E9ADC1

Accessibility & contrast

On white

4.21
#D04C78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#D04C78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04C78
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04C78#FFFFFF#000000##000000
##D04C781.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#666B79
Deuteranopia (green-blind)
#898575
Tritanopia (blue-blind)
#E13C5D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d04c78;
/* rgb */ color: rgb(208, 76, 120);
/* oklch */ color: oklch(60.6% 0.170 3.1);
Tailwind
colors: {
  custom: {
    50: '#e3859e',
    500: '#d04c78',
    950: '#000000',
  },
}
SCSS
$custom: #d04c78;
$custom-light: #e3859e;
$custom-dark: #000000;
JSON
{
  "hex": "#d04c78",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 120
  },
  "hsl": {
    "h": 340,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60627,
    "c": 0.17031,
    "h": 3.1
  },
  "luminance": 0.19935
}

Semantic roles & 50–950 ramp

primary
#D04C78
secondary
#A0D7C5
accent
#E2AE46
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #D04C78

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

Preview Lab → · Contrast checker → · Palette generator →

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