#D5406A#D5406A

#D5406A is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.7% C 0.186 H 8.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#D5406A
RGBrgb(213, 64, 106)
HSLhsl(343, 64%, 54%)
HSVhsv(343, 70%, 84%)
CMYKcmyk(0%, 70%, 50.2%, 16.5%)
CIE-LABlab(50.52, 60.67, 10.05)
CIE-LCHlch(50.52, 61.49, 9.41°)
OKLaboklab(59.74% 0.1846 0.026)
OKLCHoklch(59.74% 0.186 8)
XYZxyz(31.8782, 18.8578, 15.5941)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5406A #40D5AB
analogous
#D540B5 #D5406A #D56140
triadic
#D5406A #6AD540 #406AD5
tetradic
#D5406A #B5D540 #40D5AB #6140D5
square
#D5406A #B5D540 #40D5AB #6140D5
split-complementary
#D5406A #40D561 #40B5D5
monochromatic
#7F1C38 #B1274E #D5406A #E07291 #EBA4B8

Accessibility & contrast

On white

4.40
#D5406A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#D5406A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5406A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5406A#FFFFFF#000000##000000
##D5406A1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#63656B
Deuteranopia (green-blind)
#8A8366
Tritanopia (blue-blind)
#E82351
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d5406a;
/* rgb */ color: rgb(213, 64, 106);
/* oklch */ color: oklch(59.7% 0.186 8.0);
Tailwind
colors: {
  custom: {
    50: '#e87f94',
    500: '#d5406a',
    950: '#000000',
  },
}
SCSS
$custom: #d5406a;
$custom-light: #e87f94;
$custom-dark: #000000;
JSON
{
  "hex": "#d5406a",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 106
  },
  "hsl": {
    "h": 343.087,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59742,
    "c": 0.18646,
    "h": 8
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#D5406A
secondary
#99D8C6
accent
#E7B841
background
#FFF8F9
surface
#FEEFF1
border
#D6CACB
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D5406A

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

Preview Lab → · Contrast checker → · Palette generator →

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