#D1387E#D1387E

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

Color values

HEX#D1387E
RGBrgb(209, 56, 126)
HSLhsl(333, 62%, 52%)
HSVhsv(333, 73%, 82%)
CMYKcmyk(0%, 73.2%, 39.7%, 18%)
CIE-LABlab(49.37, 64.17, -3.82)
CIE-LCHlch(49.37, 64.29, 356.60°)
OKLaboklab(58.94% 0.197 -0.0092)
OKLCHoklch(58.94% 0.197 357.3)
XYZxyz(31.4768, 17.8940, 21.5309)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1387E #38D18B
analogous
#D138CB #D1387E #D13F38
triadic
#D1387E #7ED138 #387ED1
tetradic
#D1387E #CBD138 #38D18B #3F38D1
square
#D1387E #CBD138 #38D18B #3F38D1
split-complementary
#D1387E #38D13F #38CBD1
monochromatic
#741B44 #A62660 #D1387E #DC6A9E #E89BBE

Accessibility & contrast

On white

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

On black

4.58
#D1387E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##D1387E#FFFFFF#000000##FFFFFF
##D1387E1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576380
Deuteranopia (green-blind)
#81807A
Tritanopia (blue-blind)
#E22456
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d1387e;
/* rgb */ color: rgb(209, 56, 126);
/* oklch */ color: oklch(58.9% 0.197 357.3);
Tailwind
colors: {
  custom: {
    50: '#e47ca3',
    500: '#d1387e',
    950: '#000000',
  },
}
SCSS
$custom: #d1387e;
$custom-light: #e47ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#d1387e",
  "rgb": {
    "r": 209,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 332.549,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58943,
    "c": 0.19723,
    "h": 357.3
  },
  "luminance": 0.1789
}

Semantic roles & 50–950 ramp

primary
#D1387E
secondary
#91D4B5
accent
#E69B42
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D1387E

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

Preview Lab → · Contrast checker → · Palette generator →

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