#D04E87#D04E87

#D04E87 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.3% C 0.173 H 356.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D04E87
RGBrgb(208, 78, 135)
HSLhsl(334, 58%, 56%)
HSVhsv(334, 63%, 82%)
CMYKcmyk(0%, 62.5%, 35.1%, 18.4%)
CIE-LABlab(52.52, 56.47, -4.57)
CIE-LCHlch(52.52, 56.65, 355.37°)
OKLaboklab(61.33% 0.1724 -0.0113)
OKLCHoklch(61.33% 0.173 356.2)
XYZxyz(33.1118, 20.6116, 25.1516)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04E87 #4ED097
analogous
#D04EC8 #D04E87 #D0564E
triadic
#D04E87 #87D04E #4E87D0
tetradic
#D04E87 #C8D04E #4ED097 #564ED0
square
#D04E87 #C8D04E #4ED097 #564ED0
split-complementary
#D04E87 #4ED056 #4EC8D0
monochromatic
#81224C #B22F68 #D04E87 #DD7EA8 #EAAFC9

Accessibility & contrast

On white

4.10
#D04E87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D04E87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04E87
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04E87#FFFFFF#000000##000000
##D04E871.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#646E89
Deuteranopia (green-blind)
#878684
Tritanopia (blue-blind)
#E04465
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d04e87;
/* rgb */ color: rgb(208, 78, 135);
/* oklch */ color: oklch(61.3% 0.173 356.2);
Tailwind
colors: {
  custom: {
    50: '#e287a9',
    500: '#d04e87',
    950: '#000000',
  },
}
SCSS
$custom: #d04e87;
$custom-light: #e287a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d04e87",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 333.692,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.17278,
    "h": 356.2
  },
  "luminance": 0.20608
}

Semantic roles & 50–950 ramp

primary
#D04E87
secondary
#A2D8C0
accent
#E19D47
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D04E87

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

Preview Lab → · Contrast checker → · Palette generator →

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