#D786BA#D786BA

#D786BA is a light, moderate pink. Relative luminance 0.350; OKLCH L 72.0% C 0.119 H 341.6°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#D786BA
RGBrgb(215, 134, 186)
HSLhsl(321, 50%, 68%)
HSVhsv(321, 38%, 84%)
CMYKcmyk(0%, 37.7%, 13.5%, 15.7%)
CIE-LABlab(65.78, 38.37, -14.13)
CIE-LCHlch(65.78, 40.89, 339.78°)
OKLaboklab(72.02% 0.1125 -0.0375)
OKLCHoklch(72.02% 0.119 341.6)
XYZxyz(45.4125, 35.0450, 50.8172)
Luminance0.3504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786BA #86D7A3
analogous
#CB86D7 #D786BA #D78691
triadic
#D786BA #BAD786 #86BAD7
tetradic
#D786BA #D7CB86 #86D7A3 #8691D7
square
#D786BA #D7CB86 #86D7A3 #8691D7
split-complementary
#D786BA #91D786 #86D7CB
monochromatic
#AA3881 #C858A0 #D786BA #E6B4D4 #F5E2EE

Accessibility & contrast

On white

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

On black

8.01
#D786BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786BA
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786BA#FFFFFF#000000##000000
##D786BA1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A98BC
Deuteranopia (green-blind)
#9EA5B8
Tritanopia (blue-blind)
#E08799
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d786ba;
/* rgb */ color: rgb(215, 134, 186);
/* oklch */ color: oklch(72.0% 0.119 341.6);
Tailwind
colors: {
  custom: {
    50: '#e5aace',
    500: '#d786ba',
    950: '#000000',
  },
}
SCSS
$custom: #d786ba;
$custom-light: #e5aace;
$custom-dark: #000000;
JSON
{
  "hex": "#d786ba",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 186
  },
  "hsl": {
    "h": 321.481,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7202,
    "c": 0.11854,
    "h": 341.6
  },
  "luminance": 0.35042
}

Semantic roles & 50–950 ramp

primary
#D786BA
secondary
#D0E9D9
accent
#BE5D28
background
#FEFAFC
surface
#FCF4F9
border
#D5CED2
text
#161013
muted
#847F82

Preview Lab

Preview with #D786BA

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

Preview Lab → · Contrast checker → · Palette generator →

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