#D04F87#D04F87

#D04F87 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.4% C 0.171 H 356.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D04F87
RGBrgb(208, 79, 135)
HSLhsl(334, 58%, 56%)
HSVhsv(334, 62%, 82%)
CMYKcmyk(0%, 62%, 35.1%, 18.4%)
CIE-LABlab(52.68, 56.04, -4.34)
CIE-LCHlch(52.68, 56.20, 355.57°)
OKLaboklab(61.45% 0.1711 -0.0107)
OKLCHoklch(61.45% 0.171 356.4)
XYZxyz(33.1834, 20.7547, 25.1755)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04F87 #4FD098
analogous
#D04FC8 #D04F87 #D0584F
triadic
#D04F87 #87D04F #4F87D0
tetradic
#D04F87 #C8D04F #4FD098 #584FD0
square
#D04F87 #C8D04F #4FD098 #584FD0
split-complementary
#D04F87 #4FD058 #4FC8D0
monochromatic
#82234C #B23068 #D04F87 #DD7FA8 #EAB0C9

Accessibility & contrast

On white

4.08
#D04F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D04F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04F87
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04F87#FFFFFF#000000##000000
##D04F871.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#646F89
Deuteranopia (green-blind)
#878784
Tritanopia (blue-blind)
#E04565
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d04f87;
/* rgb */ color: rgb(208, 79, 135);
/* oklch */ color: oklch(61.4% 0.171 356.4);
Tailwind
colors: {
  custom: {
    50: '#e287a9',
    500: '#d04f87',
    950: '#000000',
  },
}
SCSS
$custom: #d04f87;
$custom-light: #e287a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d04f87",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 333.953,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61449,
    "c": 0.1714,
    "h": 356.4
  },
  "luminance": 0.20751
}

Semantic roles & 50–950 ramp

primary
#D04F87
secondary
#A3D8C1
accent
#E19E47
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D04F87

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

Preview Lab → · Contrast checker → · Palette generator →

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