#D04078#D04078

#D04078 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.3% C 0.185 H 0.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#D04078
RGBrgb(208, 64, 120)
HSLhsl(337, 61%, 53%)
HSVhsv(337, 69%, 82%)
CMYKcmyk(0%, 69.2%, 42.3%, 18.4%)
CIE-LABlab(50.02, 60.48, 0.75)
CIE-LCHlch(50.02, 60.48, 0.71°)
OKLaboklab(59.33% 0.1853 0.0027)
OKLCHoklch(59.33% 0.185 0.8)
XYZxyz(31.2382, 18.4366, 19.6793)
Luminance0.1843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04078 #40D098
analogous
#D040C0 #D04078 #D05040
triadic
#D04078 #78D040 #4078D0
tetradic
#D04078 #C0D040 #40D098 #5040D0
square
#D04078 #C0D040 #40D098 #5040D0
split-complementary
#D04078 #40D050 #40C0D0
monochromatic
#781E41 #A92A5B #D04078 #DC719B #E8A2BD

Accessibility & contrast

On white

4.48
#D04078 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#D04078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04078
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04078#FFFFFF#000000##000000
##D040781.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6579
Deuteranopia (green-blind)
#858175
Tritanopia (blue-blind)
#E12D57
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d04078;
/* rgb */ color: rgb(208, 64, 120);
/* oklch */ color: oklch(59.3% 0.185 0.8);
Tailwind
colors: {
  custom: {
    50: '#e47f9e',
    500: '#d04078',
    950: '#000000',
  },
}
SCSS
$custom: #d04078;
$custom-light: #e47f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d04078",
  "rgb": {
    "r": 208,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 336.667,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59333,
    "c": 0.18527,
    "h": 0.8
  },
  "luminance": 0.18433
}

Semantic roles & 50–950 ramp

primary
#D04078
secondary
#97D5BD
accent
#E4A644
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #D04078

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

Preview Lab → · Contrast checker → · Palette generator →

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