#D8408C#D8408C

#D8408C is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.3% C 0.200 H 354.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D8408C
RGBrgb(216, 64, 140)
HSLhsl(330, 66%, 55%)
HSVhsv(330, 70%, 85%)
CMYKcmyk(0%, 70.4%, 35.2%, 15.3%)
CIE-LABlab(52.02, 64.80, -8.16)
CIE-LCHlch(52.02, 65.32, 352.83°)
OKLaboklab(61.27% 0.1985 -0.0207)
OKLCHoklch(61.27% 0.2 354)
XYZxyz(34.8880, 20.1633, 26.8605)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8408C #40D88C
analogous
#D840D8 #D8408C #D84040
triadic
#D8408C #8CD840 #408CD8
tetradic
#D8408C #D8D840 #40D88C #4040D8
square
#D8408C #D8D840 #40D88C #4040D8
split-complementary
#D8408C #40D840 #40D8D8
monochromatic
#831B4F #B6256D #D8408C #E273AB #EDA6C9

Accessibility & contrast

On white

4.17
#D8408C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D8408C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8408C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8408C#FFFFFF#000000##000000
##D8408C1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8E
Deuteranopia (green-blind)
#868688
Tritanopia (blue-blind)
#E93361
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d8408c;
/* rgb */ color: rgb(216, 64, 140);
/* oklch */ color: oklch(61.3% 0.200 354.0);
Tailwind
colors: {
  custom: {
    50: '#e980ad',
    500: '#d8408c',
    950: '#000000',
  },
}
SCSS
$custom: #d8408c;
$custom-light: #e980ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d8408c",
  "rgb": {
    "r": 216,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 330,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61267,
    "c": 0.19957,
    "h": 354
  },
  "luminance": 0.20159
}

Semantic roles & 50–950 ramp

primary
#D8408C
secondary
#9ADABA
accent
#E9943F
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D8408C

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

Preview Lab → · Contrast checker → · Palette generator →

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