#D786BC#D786BC

#D786BC is a light, vivid pink. Relative luminance 0.351; OKLCH L 72.1% C 0.120 H 340.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#D786BC
RGBrgb(215, 134, 188)
HSLhsl(320, 50%, 68%)
HSVhsv(320, 38%, 84%)
CMYKcmyk(0%, 37.7%, 12.6%, 15.7%)
CIE-LABlab(65.85, 38.70, -15.15)
CIE-LCHlch(65.85, 41.56, 338.61°)
OKLaboklab(72.09% 0.1131 -0.0403)
OKLCHoklch(72.09% 0.12 340.4)
XYZxyz(45.6266, 35.1307, 51.9448)
Luminance0.3513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786BC #86D7A1
analogous
#C986D7 #D786BC #D78693
triadic
#D786BC #BCD786 #86BCD7
tetradic
#D786BC #D7C986 #86D7A1 #8693D7
square
#D786BC #D7C986 #86D7A1 #8693D7
split-complementary
#D786BC #93D786 #86D7C9
monochromatic
#AA3884 #C858A3 #D786BC #E6B4D5 #F5E2EF

Accessibility & contrast

On white

2.62
#D786BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#D786BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786BC
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786BC#FFFFFF#000000##000000
##D786BC1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8998BE
Deuteranopia (green-blind)
#9EA5BA
Tritanopia (blue-blind)
#E0879A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d786bc;
/* rgb */ color: rgb(215, 134, 188);
/* oklch */ color: oklch(72.1% 0.120 340.4);
Tailwind
colors: {
  custom: {
    50: '#e5aad0',
    500: '#d786bc',
    950: '#000000',
  },
}
SCSS
$custom: #d786bc;
$custom-light: #e5aad0;
$custom-dark: #000000;
JSON
{
  "hex": "#d786bc",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 188
  },
  "hsl": {
    "h": 320,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72092,
    "c": 0.12002,
    "h": 340.4
  },
  "luminance": 0.35128
}

Semantic roles & 50–950 ramp

primary
#D786BC
secondary
#D0E9D8
accent
#BE5A28
background
#FEFAFC
surface
#FCF4F9
border
#D5CED2
text
#161014
muted
#847F82

Preview Lab

Preview with #D786BC

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

Preview Lab → · Contrast checker → · Palette generator →

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