#D04787#D04787

#D04787 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.5% C 0.182 H 355.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#D04787
RGBrgb(208, 71, 135)
HSLhsl(332, 59%, 55%)
HSVhsv(332, 66%, 82%)
CMYKcmyk(0%, 65.9%, 35.1%, 18.4%)
CIE-LABlab(51.46, 59.36, -6.15)
CIE-LCHlch(51.46, 59.68, 354.09°)
OKLaboklab(60.55% 0.1815 -0.0155)
OKLCHoklch(60.55% 0.182 355.1)
XYZxyz(32.6407, 19.6693, 24.9946)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04787 #47D090
analogous
#D047CB #D04787 #D04C47
triadic
#D04787 #87D047 #4787D0
tetradic
#D04787 #CBD047 #47D090 #4C47D0
square
#D04787 #CBD047 #47D090 #4C47D0
split-complementary
#D04787 #47D04C #47CBD0
monochromatic
#7D204B #AD2C69 #D04787 #DC78A7 #E9A8C7

Accessibility & contrast

On white

4.26
#D04787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#D04787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04787
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04787#FFFFFF#000000##000000
##D047871.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6B89
Deuteranopia (green-blind)
#848484
Tritanopia (blue-blind)
#E03C61
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d04787;
/* rgb */ color: rgb(208, 71, 135);
/* oklch */ color: oklch(60.5% 0.182 355.1);
Tailwind
colors: {
  custom: {
    50: '#e383a9',
    500: '#d04787',
    950: '#000000',
  },
}
SCSS
$custom: #d04787;
$custom-light: #e383a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d04787",
  "rgb": {
    "r": 208,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 331.971,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60547,
    "c": 0.18215,
    "h": 355.1
  },
  "luminance": 0.19666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04787

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

Preview Lab → · Contrast checker → · Palette generator →

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