#D1387C#D1387C

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

Color values

HEX#D1387C
RGBrgb(209, 56, 124)
HSLhsl(333, 62%, 52%)
HSVhsv(333, 73%, 82%)
CMYKcmyk(0%, 73.2%, 40.7%, 18%)
CIE-LABlab(49.30, 63.97, -2.70)
CIE-LCHlch(49.30, 64.03, 357.59°)
OKLaboklab(58.88% 0.1964 -0.0063)
OKLCHoklch(58.88% 0.196 358.2)
XYZxyz(31.3490, 17.8428, 20.8581)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1387C #38D18D
analogous
#D138C9 #D1387C #D14038
triadic
#D1387C #7CD138 #387CD1
tetradic
#D1387C #C9D138 #38D18D #4038D1
square
#D1387C #C9D138 #38D18D #4038D1
split-complementary
#D1387C #38D140 #38C9D1
monochromatic
#741B42 #A6265F #D1387C #DC6A9D #E89BBD

Accessibility & contrast

On white

4.60
#D1387C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D1387C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1387C#FFFFFF#000000##FFFFFF
##D1387C1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58637E
Deuteranopia (green-blind)
#828078
Tritanopia (blue-blind)
#E22355
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d1387c;
/* rgb */ color: rgb(209, 56, 124);
/* oklch */ color: oklch(58.9% 0.196 358.2);
Tailwind
colors: {
  custom: {
    50: '#e47ba1',
    500: '#d1387c',
    950: '#000000',
  },
}
SCSS
$custom: #d1387c;
$custom-light: #e47ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#d1387c",
  "rgb": {
    "r": 209,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 333.333,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58877,
    "c": 0.19649,
    "h": 358.2
  },
  "luminance": 0.17839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1387C

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

Preview Lab → · Contrast checker → · Palette generator →

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