#D1387A#D1387A

#D1387A is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.8% C 0.196 H 359.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#D1387A
RGBrgb(209, 56, 122)
HSLhsl(334, 62%, 52%)
HSVhsv(334, 73%, 82%)
CMYKcmyk(0%, 73.2%, 41.6%, 18%)
CIE-LABlab(49.24, 63.78, -1.58)
CIE-LCHlch(49.24, 63.80, 358.59°)
OKLaboklab(58.81% 0.1958 -0.0034)
OKLCHoklch(58.81% 0.196 359)
XYZxyz(31.2238, 17.7928, 20.1987)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1387A #38D18F
analogous
#D138C6 #D1387A #D14338
triadic
#D1387A #7AD138 #387AD1
tetradic
#D1387A #C6D138 #38D18F #4338D1
square
#D1387A #C6D138 #38D18F #4338D1
split-complementary
#D1387A #38D143 #38C6D1
monochromatic
#741B41 #A6265D #D1387A #DC6A9B #E89BBC

Accessibility & contrast

On white

4.61
#D1387A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#D1387A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D1387A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1387A#FFFFFF#000000##FFFFFF
##D1387A1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59627C
Deuteranopia (green-blind)
#828076
Tritanopia (blue-blind)
#E22154
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d1387a;
/* rgb */ color: rgb(209, 56, 122);
/* oklch */ color: oklch(58.8% 0.196 359.0);
Tailwind
colors: {
  custom: {
    50: '#e57ba0',
    500: '#d1387a',
    950: '#000000',
  },
}
SCSS
$custom: #d1387a;
$custom-light: #e57ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#d1387a",
  "rgb": {
    "r": 209,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 334.118,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58812,
    "c": 0.19579,
    "h": 359
  },
  "luminance": 0.17789
}

Semantic roles & 50–950 ramp

primary
#D1387A
secondary
#91D4B7
accent
#E69F42
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D1387A

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

Preview Lab → · Contrast checker → · Palette generator →

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