#D04371#D04371

#D04371 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.4% C 0.180 H 4.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#D04371
RGBrgb(208, 67, 113)
HSLhsl(340, 60%, 54%)
HSVhsv(340, 68%, 82%)
CMYKcmyk(0%, 67.8%, 45.7%, 18.4%)
CIE-LABlab(50.24, 58.67, 5.30)
CIE-LCHlch(50.24, 58.90, 5.16°)
OKLaboklab(59.43% 0.1792 0.0142)
OKLCHoklch(59.43% 0.18 4.5)
XYZxyz(31.0026, 18.6204, 17.5811)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04371 #43D0A2
analogous
#D043B7 #D04371 #D05C43
triadic
#D04371 #71D043 #4371D0
tetradic
#D04371 #B7D043 #43D0A2 #5C43D0
square
#D04371 #B7D043 #43D0A2 #5C43D0
split-complementary
#D04371 #43D05C #43B7D0
monochromatic
#7A1F3C #AB2B55 #D04371 #DC7496 #E8A5BB

Accessibility & contrast

On white

4.45
#D04371 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#D04371 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04371
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04371#FFFFFF#000000##000000
##D043711.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#626672
Deuteranopia (green-blind)
#87826E
Tritanopia (blue-blind)
#E22E56
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d04371;
/* rgb */ color: rgb(208, 67, 113);
/* oklch */ color: oklch(59.4% 0.180 4.5);
Tailwind
colors: {
  custom: {
    50: '#e48099',
    500: '#d04371',
    950: '#000000',
  },
}
SCSS
$custom: #d04371;
$custom-light: #e48099;
$custom-dark: #000000;
JSON
{
  "hex": "#d04371",
  "rgb": {
    "r": 208,
    "g": 67,
    "b": 113
  },
  "hsl": {
    "h": 340.426,
    "s": 60,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59431,
    "c": 0.17975,
    "h": 4.5
  },
  "luminance": 0.18616
}

Semantic roles & 50–950 ramp

primary
#D04371
secondary
#99D5C2
accent
#E3AF45
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D04371

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

Preview Lab → · Contrast checker → · Palette generator →

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