#D5406C#D5406C

#D5406C is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.8% C 0.187 H 7.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#D5406C
RGBrgb(213, 64, 108)
HSLhsl(342, 64%, 54%)
HSVhsv(342, 70%, 84%)
CMYKcmyk(0%, 70%, 49.3%, 16.5%)
CIE-LABlab(50.57, 60.84, 8.91)
CIE-LCHlch(50.57, 61.49, 8.33°)
OKLaboklab(59.8% 0.1854 0.0232)
OKLCHoklch(59.8% 0.187 7.1)
XYZxyz(31.9834, 18.8999, 16.1483)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5406C #40D5A9
analogous
#D540B6 #D5406C #D55F40
triadic
#D5406C #6CD540 #406CD5
tetradic
#D5406C #B6D540 #40D5A9 #5F40D5
square
#D5406C #B6D540 #40D5A9 #5F40D5
split-complementary
#D5406C #40D55F #40B6D5
monochromatic
#7F1C39 #B12750 #D5406C #E07293 #EBA4B9

Accessibility & contrast

On white

4.39
#D5406C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#D5406C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5406C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5406C#FFFFFF#000000##000000
##D5406C1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#63656D
Deuteranopia (green-blind)
#8A8368
Tritanopia (blue-blind)
#E82452
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d5406c;
/* rgb */ color: rgb(213, 64, 108);
/* oklch */ color: oklch(59.8% 0.187 7.1);
Tailwind
colors: {
  custom: {
    50: '#e87f95',
    500: '#d5406c',
    950: '#000000',
  },
}
SCSS
$custom: #d5406c;
$custom-light: #e87f95;
$custom-dark: #000000;
JSON
{
  "hex": "#d5406c",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 108
  },
  "hsl": {
    "h": 342.282,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59795,
    "c": 0.18682,
    "h": 7.1
  },
  "luminance": 0.18896
}

Semantic roles & 50–950 ramp

primary
#D5406C
secondary
#99D8C5
accent
#E7B641
background
#FFF8F9
surface
#FEEFF1
border
#D6CACB
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D5406C

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

Preview Lab → · Contrast checker → · Palette generator →

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