#D9386F#D9386F

#D9386F is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.8% C 0.199 H 5.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#D9386F
RGBrgb(217, 56, 111)
HSLhsl(340, 68%, 54%)
HSVhsv(340, 74%, 85%)
CMYKcmyk(0%, 74.2%, 48.8%, 14.9%)
CIE-LABlab(50.37, 64.98, 6.91)
CIE-LCHlch(50.37, 65.35, 6.07°)
OKLaboklab(59.81% 0.1986 0.0182)
OKLCHoklch(59.81% 0.199 5.2)
XYZxyz(32.9015, 18.7322, 16.9190)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9386F #38D9A2
analogous
#D938BF #D9386F #D95138
triadic
#D9386F #6FD938 #386FD9
tetradic
#D9386F #BFD938 #38D9A2 #5138D9
square
#D9386F #BFD938 #38D9A2 #5138D9
split-complementary
#D9386F #38D951 #38BFD9
monochromatic
#7E183B #B22253 #D9386F #E36B94 #ED9FB9

Accessibility & contrast

On white

4.43
#D9386F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#D9386F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9386F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9386F#FFFFFF#000000##000000
##D9386F1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6470
Deuteranopia (green-blind)
#8A836B
Tritanopia (blue-blind)
#EC124F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d9386f;
/* rgb */ color: rgb(217, 56, 111);
/* oklch */ color: oklch(59.8% 0.199 5.2);
Tailwind
colors: {
  custom: {
    50: '#eb7c98',
    500: '#d9386f',
    950: '#000000',
  },
}
SCSS
$custom: #d9386f;
$custom-light: #eb7c98;
$custom-dark: #000000;
JSON
{
  "hex": "#d9386f",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 339.503,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59805,
    "c": 0.19946,
    "h": 5.2
  },
  "luminance": 0.18728
}

Semantic roles & 50–950 ramp

primary
#D9386F
secondary
#94D9C1
accent
#EBAF3D
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D9386F

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

Preview Lab → · Contrast checker → · Palette generator →

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