#D786BD#D786BD

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

Color values

HEX#D786BD
RGBrgb(215, 134, 189)
HSLhsl(319, 50%, 68%)
HSVhsv(319, 38%, 84%)
CMYKcmyk(0%, 37.7%, 12.1%, 15.7%)
CIE-LABlab(65.88, 38.86, -15.67)
CIE-LCHlch(65.88, 41.90, 338.04°)
OKLaboklab(72.13% 0.1134 -0.0417)
OKLCHoklch(72.13% 0.121 339.8)
XYZxyz(45.7348, 35.1739, 52.5145)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786BD #86D7A0
analogous
#C886D7 #D786BD #D78694
triadic
#D786BD #BDD786 #86BDD7
tetradic
#D786BD #D7C886 #86D7A0 #8694D7
square
#D786BD #D7C886 #86D7A0 #8694D7
split-complementary
#D786BD #94D786 #86D7C8
monochromatic
#AA3886 #C858A4 #D786BD #E6B4D6 #F5E2EF

Accessibility & contrast

On white

2.61
#D786BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D786BD#FFFFFF#000000##000000
##D786BD1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d786bd;
/* rgb */ color: rgb(215, 134, 189);
/* oklch */ color: oklch(72.1% 0.121 339.8);
Tailwind
colors: {
  custom: {
    50: '#e5aad1',
    500: '#d786bd',
    950: '#000000',
  },
}
SCSS
$custom: #d786bd;
$custom-light: #e5aad1;
$custom-dark: #000000;
JSON
{
  "hex": "#d786bd",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 189
  },
  "hsl": {
    "h": 319.259,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72129,
    "c": 0.12078,
    "h": 339.8
  },
  "luminance": 0.35171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D786BD

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

Preview Lab → · Contrast checker → · Palette generator →

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