#D0408B#D0408B

#D0408B is a mid, vivid pink. Relative luminance 0.189; OKLCH L 60.0% C 0.193 H 352.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#D0408B
RGBrgb(208, 64, 139)
HSLhsl(329, 61%, 53%)
HSVhsv(329, 69%, 82%)
CMYKcmyk(0%, 69.2%, 33.2%, 18.4%)
CIE-LABlab(50.62, 62.50, -9.79)
CIE-LCHlch(50.62, 63.26, 351.09°)
OKLaboklab(59.97% 0.1911 -0.0252)
OKLCHoklch(59.97% 0.193 352.5)
XYZxyz(32.5078, 18.9445, 26.3658)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0408B #40D085
analogous
#CD40D0 #D0408B #D04043
triadic
#D0408B #8BD040 #408BD0
tetradic
#D0408B #D0CD40 #40D085 #4043D0
square
#D0408B #D0CD40 #40D085 #4043D0
split-complementary
#D0408B #43D040 #40D0CD
monochromatic
#781E4D #A92A6C #D0408B #DC71A9 #E8A2C7

Accessibility & contrast

On white

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

On black

4.79
#D0408B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D0408B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0408B#FFFFFF#000000##000000
##D0408B1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#58688D
Deuteranopia (green-blind)
#808288
Tritanopia (blue-blind)
#E03660
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d0408b;
/* rgb */ color: rgb(208, 64, 139);
/* oklch */ color: oklch(60.0% 0.193 352.5);
Tailwind
colors: {
  custom: {
    50: '#e37fac',
    500: '#d0408b',
    950: '#000000',
  },
}
SCSS
$custom: #d0408b;
$custom-light: #e37fac;
$custom-dark: #000000;
JSON
{
  "hex": "#d0408b",
  "rgb": {
    "r": 208,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 328.75,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59972,
    "c": 0.19273,
    "h": 352.5
  },
  "luminance": 0.18941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0408B

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

Preview Lab → · Contrast checker → · Palette generator →

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