#D8408D#D8408D

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

Color values

HEX#D8408D
RGBrgb(216, 64, 141)
HSLhsl(330, 66%, 55%)
HSVhsv(330, 70%, 85%)
CMYKcmyk(0%, 70.4%, 34.7%, 15.3%)
CIE-LABlab(52.05, 64.91, -8.70)
CIE-LCHlch(52.05, 65.49, 352.36°)
OKLaboklab(61.3% 0.1988 -0.0222)
OKLCHoklch(61.3% 0.2 353.6)
XYZxyz(34.9621, 20.1929, 27.2506)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8408D #40D88B
analogous
#D740D8 #D8408D #D84041
triadic
#D8408D #8DD840 #408DD8
tetradic
#D8408D #D8D740 #40D88B #4041D8
square
#D8408D #D8D740 #40D88B #4041D8
split-complementary
#D8408D #41D840 #40D8D7
monochromatic
#831B4F #B6256E #D8408D #E273AB #EDA6CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8408D#FFFFFF#000000##000000
##D8408D1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8F
Deuteranopia (green-blind)
#85868A
Tritanopia (blue-blind)
#E83361
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d8408d;
/* rgb */ color: rgb(216, 64, 141);
/* oklch */ color: oklch(61.3% 0.200 353.6);
Tailwind
colors: {
  custom: {
    50: '#e980ae',
    500: '#d8408d',
    950: '#000000',
  },
}
SCSS
$custom: #d8408d;
$custom-light: #e980ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d8408d",
  "rgb": {
    "r": 216,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 329.605,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61303,
    "c": 0.20002,
    "h": 353.6
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8408D

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

Preview Lab → · Contrast checker → · Palette generator →

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