#D5408C#D5408C

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

Color values

HEX#D5408C
RGBrgb(213, 64, 140)
HSLhsl(329, 64%, 54%)
HSVhsv(329, 70%, 84%)
CMYKcmyk(0%, 70%, 34.3%, 16.5%)
CIE-LABlab(51.51, 63.99, -8.98)
CIE-LCHlch(51.51, 64.61, 352.01°)
OKLaboklab(60.79% 0.1958 -0.023)
OKLCHoklch(60.79% 0.197 353.3)
XYZxyz(34.0096, 19.7103, 26.8193)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5408C #40D589
analogous
#D340D5 #D5408C #D54042
triadic
#D5408C #8CD540 #408CD5
tetradic
#D5408C #D5D340 #40D589 #4042D5
square
#D5408C #D5D340 #40D589 #4042D5
split-complementary
#D5408C #42D540 #40D5D3
monochromatic
#7F1C4E #B1276D #D5408C #E072AA #EBA4C8

Accessibility & contrast

On white

4.25
#D5408C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#D5408C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5408C
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5408C#FFFFFF#000000##000000
##D5408C1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A698E
Deuteranopia (green-blind)
#838589
Tritanopia (blue-blind)
#E53461
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d5408c;
/* rgb */ color: rgb(213, 64, 140);
/* oklch */ color: oklch(60.8% 0.197 353.3);
Tailwind
colors: {
  custom: {
    50: '#e780ad',
    500: '#d5408c',
    950: '#000000',
  },
}
SCSS
$custom: #d5408c;
$custom-light: #e780ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d5408c",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 329.396,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60794,
    "c": 0.19718,
    "h": 353.3
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

primary
#D5408C
secondary
#99D8B8
accent
#E79241
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D5408C

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

Preview Lab → · Contrast checker → · Palette generator →

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