#D786AB#D786AB

#D786AB is a light, moderate pink. Relative luminance 0.344; OKLCH L 71.5% C 0.109 H 351.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#D786AB
RGBrgb(215, 134, 171)
HSLhsl(333, 50%, 68%)
HSVhsv(333, 38%, 84%)
CMYKcmyk(0%, 37.7%, 20.5%, 15.7%)
CIE-LABlab(65.31, 36.02, -6.38)
CIE-LCHlch(65.31, 36.58, 349.96°)
OKLaboklab(71.51% 0.1076 -0.0165)
OKLCHoklch(71.51% 0.109 351.3)
XYZxyz(43.9008, 34.4403, 42.8555)
Luminance0.3444 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786AB #86D7B2
analogous
#D786D3 #D786AB #D78986
triadic
#D786AB #ABD786 #86ABD7
tetradic
#D786AB #D3D786 #86D7B2 #8986D7
square
#D786AB #D3D786 #86D7B2 #8986D7
split-complementary
#D786AB #86D789 #86D3D7
monochromatic
#AA386C #C8588B #D786AB #E6B4CB #F5E2EB

Accessibility & contrast

On white

2.66
#D786AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#D786AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786AB
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786AB#FFFFFF#000000##000000
##D786AB1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E96AC
Deuteranopia (green-blind)
#A2A4A9
Tritanopia (blue-blind)
#E28393
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d786ab;
/* rgb */ color: rgb(215, 134, 171);
/* oklch */ color: oklch(71.5% 0.109 351.3);
Tailwind
colors: {
  custom: {
    50: '#e5aac4',
    500: '#d786ab',
    950: '#000000',
  },
}
SCSS
$custom: #d786ab;
$custom-light: #e5aac4;
$custom-dark: #000000;
JSON
{
  "hex": "#d786ab",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 171
  },
  "hsl": {
    "h": 332.593,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71505,
    "c": 0.10889,
    "h": 351.3
  },
  "luminance": 0.34438
}

Semantic roles & 50–950 ramp

primary
#D786AB
secondary
#D0E9DD
accent
#BE7928
background
#FEFAFC
surface
#FCF4F8
border
#D5CED1
text
#161012
muted
#847F81

Preview Lab

Preview with #D786AB

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

Preview Lab → · Contrast checker → · Palette generator →

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