#D9408B#D9408B

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

Color values

HEX#D9408B
RGBrgb(217, 64, 139)
HSLhsl(331, 67%, 55%)
HSVhsv(331, 71%, 85%)
CMYKcmyk(0%, 70.5%, 35.9%, 14.9%)
CIE-LABlab(52.16, 64.97, -7.33)
CIE-LCHlch(52.16, 65.38, 353.56°)
OKLaboklab(61.39% 0.1991 -0.0185)
OKLCHoklch(61.39% 0.2 354.7)
XYZxyz(35.1110, 20.2868, 26.4878)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9408B #40D98E
analogous
#D940D8 #D9408B #D94140
triadic
#D9408B #8BD940 #408BD9
tetradic
#D9408B #D8D940 #40D98E #4140D9
square
#D9408B #D8D940 #40D98E #4140D9
split-complementary
#D9408B #40D941 #40D8D9
monochromatic
#841A4E #B7246C #D9408B #E373AA #EDA6C9

Accessibility & contrast

On white

4.15
#D9408B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D9408B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9408B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9408B#FFFFFF#000000##000000
##D9408B1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8D
Deuteranopia (green-blind)
#868787
Tritanopia (blue-blind)
#EA3260
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d9408b;
/* rgb */ color: rgb(217, 64, 139);
/* oklch */ color: oklch(61.4% 0.200 354.7);
Tailwind
colors: {
  custom: {
    50: '#ea80ac',
    500: '#d9408b',
    950: '#000000',
  },
}
SCSS
$custom: #d9408b;
$custom-light: #ea80ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d9408b",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 330.588,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6139,
    "c": 0.19994,
    "h": 354.7
  },
  "luminance": 0.20283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9408B

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

Preview Lab → · Contrast checker → · Palette generator →

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