#D1408A#D1408A

#D1408A is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.1% C 0.193 H 353.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D1408A
RGBrgb(209, 64, 138)
HSLhsl(329, 61%, 54%)
HSVhsv(329, 69%, 82%)
CMYKcmyk(0%, 69.4%, 34%, 18%)
CIE-LABlab(50.76, 62.66, -8.97)
CIE-LCHlch(50.76, 63.30, 351.85°)
OKLaboklab(60.09% 0.1917 -0.023)
OKLCHoklch(60.09% 0.193 353.2)
XYZxyz(32.7172, 19.0608, 25.9960)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1408A #40D187
analogous
#CF40D1 #D1408A #D14041
triadic
#D1408A #8AD140 #408AD1
tetradic
#D1408A #D1CF40 #40D187 #4041D1
square
#D1408A #D1CF40 #40D187 #4041D1
split-complementary
#D1408A #41D140 #40D1CF
monochromatic
#791D4C #AB296B #D1408A #DD71A8 #E9A3C6

Accessibility & contrast

On white

4.36
#D1408A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#D1408A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1408A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1408A#FFFFFF#000000##000000
##D1408A1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#59688C
Deuteranopia (green-blind)
#818387
Tritanopia (blue-blind)
#E13560
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d1408a;
/* rgb */ color: rgb(209, 64, 138);
/* oklch */ color: oklch(60.1% 0.193 353.2);
Tailwind
colors: {
  custom: {
    50: '#e480ac',
    500: '#d1408a',
    950: '#000000',
  },
}
SCSS
$custom: #d1408a;
$custom-light: #e480ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d1408a",
  "rgb": {
    "r": 209,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 329.379,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60093,
    "c": 0.19308,
    "h": 353.2
  },
  "luminance": 0.19057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1408A

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

Preview Lab → · Contrast checker → · Palette generator →

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