#D8406C#D8406C

#D8406C is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.3% C 0.190 H 7.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D8406C
RGBrgb(216, 64, 108)
HSLhsl(343, 66%, 55%)
HSVhsv(343, 70%, 85%)
CMYKcmyk(0%, 70.4%, 50%, 15.3%)
CIE-LABlab(51.10, 61.72, 9.73)
CIE-LCHlch(51.10, 62.48, 8.96°)
OKLaboklab(60.28% 0.1879 0.0252)
OKLCHoklch(60.28% 0.19 7.6)
XYZxyz(32.8619, 19.3528, 16.1895)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8406C #40D8AC
analogous
#D840B8 #D8406C #D86040
triadic
#D8406C #6CD840 #406CD8
tetradic
#D8406C #B8D840 #40D8AC #6040D8
square
#D8406C #B8D840 #40D8AC #6040D8
split-complementary
#D8406C #40D860 #40B8D8
monochromatic
#831B39 #B6254F #D8406C #E27393 #EDA6BA

Accessibility & contrast

On white

4.31
#D8406C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D8406C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8406C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8406C#FFFFFF#000000##000000
##D8406C1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#64666D
Deuteranopia (green-blind)
#8C8568
Tritanopia (blue-blind)
#EB2252
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d8406c;
/* rgb */ color: rgb(216, 64, 108);
/* oklch */ color: oklch(60.3% 0.190 7.6);
Tailwind
colors: {
  custom: {
    50: '#ea8095',
    500: '#d8406c',
    950: '#000000',
  },
}
SCSS
$custom: #d8406c;
$custom-light: #ea8095;
$custom-dark: #000000;
JSON
{
  "hex": "#d8406c",
  "rgb": {
    "r": 216,
    "g": 64,
    "b": 108
  },
  "hsl": {
    "h": 342.632,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.18962,
    "h": 7.6
  },
  "luminance": 0.19348
}

Semantic roles & 50–950 ramp

primary
#D8406C
secondary
#9ADAC7
accent
#E9B83F
background
#FFF8F9
surface
#FFEFF1
border
#D7CACB
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D8406C

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

Preview Lab → · Contrast checker → · Palette generator →

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