#D9408C#D9408C

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

Color values

HEX#D9408C
RGBrgb(217, 64, 140)
HSLhsl(330, 67%, 55%)
HSVhsv(330, 71%, 85%)
CMYKcmyk(0%, 70.5%, 35.5%, 14.9%)
CIE-LABlab(52.19, 65.08, -7.88)
CIE-LCHlch(52.19, 65.55, 353.09°)
OKLaboklab(61.43% 0.1994 -0.02)
OKLCHoklch(61.43% 0.2 354.3)
XYZxyz(35.1844, 20.3161, 26.8744)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9408C #40D98D
analogous
#D940D8 #D9408C #D94040
triadic
#D9408C #8CD940 #408CD9
tetradic
#D9408C #D8D940 #40D98D #4040D9
square
#D9408C #D8D940 #40D98D #4040D9
split-complementary
#D9408C #40D940 #40D8D9
monochromatic
#841A4F #B7246D #D9408C #E373AB #EDA6C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9408C#FFFFFF#000000##000000
##D9408C1.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)
#5C6B8E
Deuteranopia (green-blind)
#868788
Tritanopia (blue-blind)
#EA3261
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d9408c;
/* rgb */ color: rgb(217, 64, 140);
/* oklch */ color: oklch(61.4% 0.200 354.3);
Tailwind
colors: {
  custom: {
    50: '#ea80ad',
    500: '#d9408c',
    950: '#000000',
  },
}
SCSS
$custom: #d9408c;
$custom-light: #ea80ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d9408c",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 330.196,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61425,
    "c": 0.20037,
    "h": 354.3
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9408C

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

Preview Lab → · Contrast checker → · Palette generator →

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