#D8408F#D8408F

#D8408F is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.4% C 0.201 H 352.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#D8408F
RGBrgb(216, 64, 143)
HSLhsl(329, 66%, 55%)
HSVhsv(329, 70%, 85%)
CMYKcmyk(0%, 70.4%, 33.8%, 15.3%)
CIE-LABlab(52.12, 65.14, -9.79)
CIE-LCHlch(52.12, 65.87, 351.45°)
OKLaboklab(61.37% 0.1993 -0.0251)
OKLCHoklch(61.37% 0.201 352.8)
XYZxyz(35.1123, 20.2530, 28.0414)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8408F #40D889
analogous
#D540D8 #D8408F #D84043
triadic
#D8408F #8FD840 #408FD8
tetradic
#D8408F #D8D540 #40D889 #4043D8
square
#D8408F #D8D540 #40D889 #4043D8
split-complementary
#D8408F #43D840 #40D8D5
monochromatic
#831B51 #B62570 #D8408F #E273AD #EDA6CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8408F#FFFFFF#000000##000000
##D8408F1.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)
#5A6B91
Deuteranopia (green-blind)
#85868C
Tritanopia (blue-blind)
#E83462
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d8408f;
/* rgb */ color: rgb(216, 64, 143);
/* oklch */ color: oklch(61.4% 0.201 352.8);
Tailwind
colors: {
  custom: {
    50: '#e980af',
    500: '#d8408f',
    950: '#000000',
  },
}
SCSS
$custom: #d8408f;
$custom-light: #e980af;
$custom-dark: #000000;
JSON
{
  "hex": "#d8408f",
  "rgb": {
    "r": 216,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 328.816,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61374,
    "c": 0.20091,
    "h": 352.8
  },
  "luminance": 0.20249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8408F

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

Preview Lab → · Contrast checker → · Palette generator →

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