#D1387D#D1387D

#D1387D is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.9% C 0.197 H 357.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#D1387D
RGBrgb(209, 56, 125)
HSLhsl(333, 62%, 52%)
HSVhsv(333, 73%, 82%)
CMYKcmyk(0%, 73.2%, 40.2%, 18%)
CIE-LABlab(49.34, 64.07, -3.26)
CIE-LCHlch(49.34, 64.16, 357.09°)
OKLaboklab(58.91% 0.1967 -0.0077)
OKLCHoklch(58.91% 0.197 357.7)
XYZxyz(31.4126, 17.8683, 21.1928)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1387D #38D18C
analogous
#D138CA #D1387D #D14038
triadic
#D1387D #7DD138 #387DD1
tetradic
#D1387D #CAD138 #38D18C #4038D1
square
#D1387D #CAD138 #38D18C #4038D1
split-complementary
#D1387D #38D140 #38CAD1
monochromatic
#741B43 #A62660 #D1387D #DC6A9D #E89BBE

Accessibility & contrast

On white

4.59
#D1387D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#D1387D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D1387D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1387D#FFFFFF#000000##FFFFFF
##D1387D1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58637F
Deuteranopia (green-blind)
#828079
Tritanopia (blue-blind)
#E22356
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d1387d;
/* rgb */ color: rgb(209, 56, 125);
/* oklch */ color: oklch(58.9% 0.197 357.7);
Tailwind
colors: {
  custom: {
    50: '#e47ba2',
    500: '#d1387d',
    950: '#000000',
  },
}
SCSS
$custom: #d1387d;
$custom-light: #e47ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#d1387d",
  "rgb": {
    "r": 209,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 332.941,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5891,
    "c": 0.19685,
    "h": 357.7
  },
  "luminance": 0.17864
}

Semantic roles & 50–950 ramp

primary
#D1387D
secondary
#91D4B6
accent
#E69C42
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #D1387D

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

Preview Lab → · Contrast checker → · Palette generator →

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