#D0408A#D0408A

#D0408A is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.9% C 0.192 H 352.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#D0408A
RGBrgb(208, 64, 138)
HSLhsl(329, 61%, 53%)
HSVhsv(329, 69%, 82%)
CMYKcmyk(0%, 69.2%, 33.7%, 18.4%)
CIE-LABlab(50.59, 62.39, -9.25)
CIE-LCHlch(50.59, 63.07, 351.57°)
OKLaboklab(59.94% 0.1908 -0.0237)
OKLCHoklch(59.94% 0.192 352.9)
XYZxyz(32.4351, 18.9154, 25.9828)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0408A #40D086
analogous
#CE40D0 #D0408A #D04042
triadic
#D0408A #8AD040 #408AD0
tetradic
#D0408A #D0CE40 #40D086 #4042D0
square
#D0408A #D0CE40 #40D086 #4042D0
split-complementary
#D0408A #42D040 #40D0CE
monochromatic
#781E4C #A92A6B #D0408A #DC71A8 #E8A2C6

Accessibility & contrast

On white

4.39
#D0408A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#D0408A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D0408A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0408A#FFFFFF#000000##000000
##D0408A1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#58688C
Deuteranopia (green-blind)
#818287
Tritanopia (blue-blind)
#E0355F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d0408a;
/* rgb */ color: rgb(208, 64, 138);
/* oklch */ color: oklch(59.9% 0.192 352.9);
Tailwind
colors: {
  custom: {
    50: '#e37fac',
    500: '#d0408a',
    950: '#000000',
  },
}
SCSS
$custom: #d0408a;
$custom-light: #e37fac;
$custom-dark: #000000;
JSON
{
  "hex": "#d0408a",
  "rgb": {
    "r": 208,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 329.167,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59936,
    "c": 0.19228,
    "h": 352.9
  },
  "luminance": 0.18912
}

Semantic roles & 50–950 ramp

primary
#D0408A
secondary
#97D5B5
accent
#E49244
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D0408A

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

Preview Lab → · Contrast checker → · Palette generator →

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