#D04D87#D04D87

#D04D87 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.2% C 0.174 H 356.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D04D87
RGBrgb(208, 77, 135)
HSLhsl(333, 58%, 56%)
HSVhsv(333, 63%, 82%)
CMYKcmyk(0%, 63%, 35.1%, 18.4%)
CIE-LABlab(52.37, 56.89, -4.81)
CIE-LCHlch(52.37, 57.09, 355.17°)
OKLaboklab(61.22% 0.1737 -0.0119)
OKLCHoklch(61.22% 0.174 356.1)
XYZxyz(33.0413, 20.4706, 25.1281)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D87 #4DD096
analogous
#D04DC8 #D04D87 #D0544D
triadic
#D04D87 #87D04D #4D87D0
tetradic
#D04D87 #C8D04D #4DD096 #544DD0
square
#D04D87 #C8D04D #4DD096 #544DD0
split-complementary
#D04D87 #4DD054 #4DC8D0
monochromatic
#81224C #B12F68 #D04D87 #DD7DA8 #EAAEC8

Accessibility & contrast

On white

4.12
#D04D87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D04D87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04D87
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04D87#FFFFFF#000000##000000
##D04D871.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#636E89
Deuteranopia (green-blind)
#868684
Tritanopia (blue-blind)
#E04364
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d04d87;
/* rgb */ color: rgb(208, 77, 135);
/* oklch */ color: oklch(61.2% 0.174 356.1);
Tailwind
colors: {
  custom: {
    50: '#e386a9',
    500: '#d04d87',
    950: '#000000',
  },
}
SCSS
$custom: #d04d87;
$custom-light: #e386a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d87",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 333.435,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61216,
    "c": 0.17415,
    "h": 356.1
  },
  "luminance": 0.20467
}

Semantic roles & 50–950 ramp

primary
#D04D87
secondary
#A1D8C0
accent
#E19D46
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D04D87

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

Preview Lab → · Contrast checker → · Palette generator →

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