#D04771#D04771

#D04771 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.9% C 0.175 H 5.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D04771
RGBrgb(208, 71, 113)
HSLhsl(342, 59%, 55%)
HSVhsv(342, 66%, 82%)
CMYKcmyk(0%, 65.9%, 45.7%, 18.4%)
CIE-LABlab(50.82, 57.08, 6.13)
CIE-LCHlch(50.82, 57.41, 6.13°)
OKLaboklab(59.86% 0.1741 0.0163)
OKLCHoklch(59.86% 0.175 5.3)
XYZxyz(31.2487, 19.1125, 17.6631)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04771 #47D0A6
analogous
#D047B5 #D04771 #D06247
triadic
#D04771 #71D047 #4771D0
tetradic
#D04771 #B5D047 #47D0A6 #6247D0
square
#D04771 #B5D047 #47D0A6 #6247D0
split-complementary
#D04771 #47D062 #47B5D0
monochromatic
#7D203C #AD2C54 #D04771 #DC7897 #E9A8BC

Accessibility & contrast

On white

4.36
#D04771 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#D04771 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04771
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04771#FFFFFF#000000##000000
##D047711.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#646872
Deuteranopia (green-blind)
#89836E
Tritanopia (blue-blind)
#E23358
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d04771;
/* rgb */ color: rgb(208, 71, 113);
/* oklch */ color: oklch(59.9% 0.175 5.3);
Tailwind
colors: {
  custom: {
    50: '#e48299',
    500: '#d04771',
    950: '#000000',
  },
}
SCSS
$custom: #d04771;
$custom-light: #e48299;
$custom-dark: #000000;
JSON
{
  "hex": "#d04771",
  "rgb": {
    "r": 208,
    "g": 71,
    "b": 113
  },
  "hsl": {
    "h": 341.606,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5986,
    "c": 0.1749,
    "h": 5.3
  },
  "luminance": 0.19109
}

Semantic roles & 50–950 ramp

primary
#D04771
secondary
#9DD6C5
accent
#E2B245
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #D04771

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

Preview Lab → · Contrast checker → · Palette generator →

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