#D04788#D04788

#D04788 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.6% C 0.183 H 354.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#D04788
RGBrgb(208, 71, 136)
HSLhsl(332, 59%, 55%)
HSVhsv(332, 66%, 82%)
CMYKcmyk(0%, 65.9%, 34.6%, 18.4%)
CIE-LABlab(51.49, 59.47, -6.70)
CIE-LCHlch(51.49, 59.85, 353.58°)
OKLaboklab(60.58% 0.1818 -0.0169)
OKLCHoklch(60.58% 0.183 354.7)
XYZxyz(32.7115, 19.6976, 25.3671)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04788 #47D08F
analogous
#D047CC #D04788 #D04B47
triadic
#D04788 #88D047 #4788D0
tetradic
#D04788 #CCD047 #47D08F #4B47D0
square
#D04788 #CCD047 #47D08F #4B47D0
split-complementary
#D04788 #47D04B #47CCD0
monochromatic
#7D204C #AD2C6A #D04788 #DC78A8 #E9A8C7

Accessibility & contrast

On white

4.25
#D04788 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#D04788 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04788
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04788#FFFFFF#000000##000000
##D047881.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6B8A
Deuteranopia (green-blind)
#848485
Tritanopia (blue-blind)
#E03C62
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d04788;
/* rgb */ color: rgb(208, 71, 136);
/* oklch */ color: oklch(60.6% 0.183 354.7);
Tailwind
colors: {
  custom: {
    50: '#e383aa',
    500: '#d04788',
    950: '#000000',
  },
}
SCSS
$custom: #d04788;
$custom-light: #e383aa;
$custom-dark: #000000;
JSON
{
  "hex": "#d04788",
  "rgb": {
    "r": 208,
    "g": 71,
    "b": 136
  },
  "hsl": {
    "h": 331.533,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60581,
    "c": 0.18258,
    "h": 354.7
  },
  "luminance": 0.19694
}

Semantic roles & 50–950 ramp

primary
#D04788
secondary
#9DD6BB
accent
#E29845
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D04788

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

Preview Lab → · Contrast checker → · Palette generator →

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