#D0387F#D0387F

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

Color values

HEX#D0387F
RGBrgb(208, 56, 127)
HSLhsl(332, 62%, 52%)
HSVhsv(332, 73%, 82%)
CMYKcmyk(0%, 73.1%, 38.9%, 18.4%)
CIE-LABlab(49.22, 64.00, -4.66)
CIE-LCHlch(49.22, 64.17, 355.84°)
OKLaboklab(58.81% 0.1965 -0.0114)
OKLCHoklch(58.81% 0.197 356.7)
XYZxyz(31.2595, 17.7744, 21.8592)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0387F #38D089
analogous
#D038CB #D0387F #D03D38
triadic
#D0387F #7FD038 #387FD0
tetradic
#D0387F #CBD038 #38D089 #3D38D0
square
#D0387F #CBD038 #38D089 #3D38D0
split-complementary
#D0387F #38D03D #38CBD0
monochromatic
#731B44 #A42761 #D0387F #DC6A9F #E79BBF

Accessibility & contrast

On white

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

On black

4.55
#D0387F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##D0387F#FFFFFF#000000##FFFFFF
##D0387F1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576381
Deuteranopia (green-blind)
#807F7C
Tritanopia (blue-blind)
#E12557
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d0387f;
/* rgb */ color: rgb(208, 56, 127);
/* oklch */ color: oklch(58.8% 0.197 356.7);
Tailwind
colors: {
  custom: {
    50: '#e47ba4',
    500: '#d0387f',
    950: '#000000',
  },
}
SCSS
$custom: #d0387f;
$custom-light: #e47ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#d0387f",
  "rgb": {
    "r": 208,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 331.974,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58813,
    "c": 0.1968,
    "h": 356.7
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#D0387F
secondary
#91D3B4
accent
#E59943
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #D0387F

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

Preview Lab → · Contrast checker → · Palette generator →

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