#D04878#D04878

#D04878 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.2% C 0.175 H 2.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#D04878
RGBrgb(208, 72, 120)
HSLhsl(339, 59%, 55%)
HSVhsv(339, 65%, 82%)
CMYKcmyk(0%, 65.4%, 42.3%, 18.4%)
CIE-LABlab(51.16, 57.36, 2.40)
CIE-LCHlch(51.16, 57.41, 2.40°)
OKLaboklab(60.17% 0.1753 0.0069)
OKLCHoklch(60.17% 0.175 2.2)
XYZxyz(31.7222, 19.4045, 19.8406)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04878 #48D0A0
analogous
#D048BC #D04878 #D05C48
triadic
#D04878 #78D048 #4878D0
tetradic
#D04878 #BCD048 #48D0A0 #5C48D0
square
#D04878 #BCD048 #48D0A0 #5C48D0
split-complementary
#D04878 #48D05C #48BCD0
monochromatic
#7D2041 #AE2D5A #D04878 #DD799C #E9A9C0

Accessibility & contrast

On white

4.30
#D04878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#D04878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04878
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04878#FFFFFF#000000##000000
##D048781.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#636979
Deuteranopia (green-blind)
#888475
Tritanopia (blue-blind)
#E1375B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d04878;
/* rgb */ color: rgb(208, 72, 120);
/* oklch */ color: oklch(60.2% 0.175 2.2);
Tailwind
colors: {
  custom: {
    50: '#e3839e',
    500: '#d04878',
    950: '#000000',
  },
}
SCSS
$custom: #d04878;
$custom-light: #e3839e;
$custom-dark: #000000;
JSON
{
  "hex": "#d04878",
  "rgb": {
    "r": 208,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 338.824,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60174,
    "c": 0.17546,
    "h": 2.2
  },
  "luminance": 0.19401
}

Semantic roles & 50–950 ramp

primary
#D04878
secondary
#9DD7C2
accent
#E2AB45
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #D04878

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

Preview Lab → · Contrast checker → · Palette generator →

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