#D9408A#D9408A

#D9408A is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.4% C 0.200 H 355.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#D9408A
RGBrgb(217, 64, 138)
HSLhsl(331, 67%, 55%)
HSVhsv(331, 71%, 85%)
CMYKcmyk(0%, 70.5%, 36.4%, 14.9%)
CIE-LABlab(52.13, 64.86, -6.79)
CIE-LCHlch(52.13, 65.21, 354.03°)
OKLaboklab(61.36% 0.1988 -0.0171)
OKLCHoklch(61.36% 0.2 355.1)
XYZxyz(35.0383, 20.2577, 26.1048)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9408A #40D98F
analogous
#D940D7 #D9408A #D94240
triadic
#D9408A #8AD940 #408AD9
tetradic
#D9408A #D7D940 #40D98F #4240D9
square
#D9408A #D7D940 #40D98F #4240D9
split-complementary
#D9408A #40D942 #40D7D9
monochromatic
#841A4E #B7246C #D9408A #E373A9 #EDA6C9

Accessibility & contrast

On white

4.16
#D9408A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#D9408A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9408A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9408A#FFFFFF#000000##000000
##D9408A1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8C
Deuteranopia (green-blind)
#878786
Tritanopia (blue-blind)
#EA3160
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d9408a;
/* rgb */ color: rgb(217, 64, 138);
/* oklch */ color: oklch(61.4% 0.200 355.1);
Tailwind
colors: {
  custom: {
    50: '#ea80ac',
    500: '#d9408a',
    950: '#000000',
  },
}
SCSS
$custom: #d9408a;
$custom-light: #ea80ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d9408a",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 330.98,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61356,
    "c": 0.19952,
    "h": 355.1
  },
  "luminance": 0.20253
}

Semantic roles & 50–950 ramp

primary
#D9408A
secondary
#9ADABB
accent
#EA973E
background
#FFF8FA
surface
#FEEFF4
border
#D6CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D9408A

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

Preview Lab → · Contrast checker → · Palette generator →

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