#D8408E#D8408E

#D8408E is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.3% C 0.200 H 353.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D8408E
RGBrgb(216, 64, 142)
HSLhsl(329, 66%, 55%)
HSVhsv(329, 70%, 85%)
CMYKcmyk(0%, 70.4%, 34.3%, 15.3%)
CIE-LABlab(52.09, 65.02, -9.25)
CIE-LCHlch(52.09, 65.68, 351.90°)
OKLaboklab(61.34% 0.1991 -0.0237)
OKLCHoklch(61.34% 0.2 353.2)
XYZxyz(35.0368, 20.2228, 27.6442)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8408E #40D88A
analogous
#D640D8 #D8408E #D84042
triadic
#D8408E #8ED840 #408ED8
tetradic
#D8408E #D8D640 #40D88A #4042D8
square
#D8408E #D8D640 #40D88A #4042D8
split-complementary
#D8408E #42D840 #40D8D6
monochromatic
#831B50 #B6256F #D8408E #E273AC #EDA6CA

Accessibility & contrast

On white

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

On black

5.04
#D8408E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8408E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8408E#FFFFFF#000000##000000
##D8408E1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6B90
Deuteranopia (green-blind)
#85868B
Tritanopia (blue-blind)
#E83462
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d8408e;
/* rgb */ color: rgb(216, 64, 142);
/* oklch */ color: oklch(61.3% 0.200 353.2);
Tailwind
colors: {
  custom: {
    50: '#e980af',
    500: '#d8408e',
    950: '#000000',
  },
}
SCSS
$custom: #d8408e;
$custom-light: #e980af;
$custom-dark: #000000;
JSON
{
  "hex": "#d8408e",
  "rgb": {
    "r": 216,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 329.211,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61338,
    "c": 0.20045,
    "h": 353.2
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

primary
#D8408E
secondary
#9ADAB9
accent
#E9923F
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D8408E

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

Preview Lab → · Contrast checker → · Palette generator →

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