#D5408D#D5408D

#D5408D is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.8% C 0.198 H 352.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#D5408D
RGBrgb(213, 64, 141)
HSLhsl(329, 64%, 54%)
HSVhsv(329, 70%, 84%)
CMYKcmyk(0%, 70%, 33.8%, 16.5%)
CIE-LABlab(51.54, 64.10, -9.52)
CIE-LCHlch(51.54, 64.80, 351.55°)
OKLaboklab(60.83% 0.1961 -0.0244)
OKLCHoklch(60.83% 0.198 352.9)
XYZxyz(34.0837, 19.7400, 27.2094)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5408D #40D588
analogous
#D240D5 #D5408D #D54043
triadic
#D5408D #8DD540 #408DD5
tetradic
#D5408D #D5D240 #40D588 #4043D5
square
#D5408D #D5D240 #40D588 #4043D5
split-complementary
#D5408D #43D540 #40D5D2
monochromatic
#7F1C4F #B1276E #D5408D #E072AB #EBA4C9

Accessibility & contrast

On white

4.24
#D5408D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#D5408D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5408D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5408D#FFFFFF#000000##000000
##D5408D1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#596A8F
Deuteranopia (green-blind)
#83858A
Tritanopia (blue-blind)
#E53461
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d5408d;
/* rgb */ color: rgb(213, 64, 141);
/* oklch */ color: oklch(60.8% 0.198 352.9);
Tailwind
colors: {
  custom: {
    50: '#e780ae',
    500: '#d5408d',
    950: '#000000',
  },
}
SCSS
$custom: #d5408d;
$custom-light: #e780ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d5408d",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 328.993,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6083,
    "c": 0.19764,
    "h": 352.9
  },
  "luminance": 0.19736
}

Semantic roles & 50–950 ramp

primary
#D5408D
secondary
#99D8B7
accent
#E79141
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D5408D

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

Preview Lab → · Contrast checker → · Palette generator →

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