#D786AC#D786AC

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

Color values

HEX#D786AC
RGBrgb(215, 134, 172)
HSLhsl(332, 50%, 68%)
HSVhsv(332, 38%, 84%)
CMYKcmyk(0%, 37.7%, 20%, 15.7%)
CIE-LABlab(65.34, 36.17, -6.90)
CIE-LCHlch(65.34, 36.83, 349.20°)
OKLaboklab(71.54% 0.108 -0.0178)
OKLCHoklch(71.54% 0.109 350.6)
XYZxyz(43.9965, 34.4786, 43.3594)
Luminance0.3448 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786AC #86D7B1
analogous
#D786D4 #D786AC #D78886
triadic
#D786AC #ACD786 #86ACD7
tetradic
#D786AC #D4D786 #86D7B1 #8886D7
square
#D786AC #D4D786 #86D7B1 #8886D7
split-complementary
#D786AC #86D788 #86D4D7
monochromatic
#AA386E #C8588C #D786AC #E6B4CC #F5E2EB

Accessibility & contrast

On white

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

On black

7.90
#D786AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786AC
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786AC#FFFFFF#000000##000000
##D786AC1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E96AD
Deuteranopia (green-blind)
#A2A4AA
Tritanopia (blue-blind)
#E28493
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d786ac;
/* rgb */ color: rgb(215, 134, 172);
/* oklch */ color: oklch(71.5% 0.109 350.6);
Tailwind
colors: {
  custom: {
    50: '#e5aac4',
    500: '#d786ac',
    950: '#000000',
  },
}
SCSS
$custom: #d786ac;
$custom-light: #e5aac4;
$custom-dark: #000000;
JSON
{
  "hex": "#d786ac",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 172
  },
  "hsl": {
    "h": 331.852,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71538,
    "c": 0.10945,
    "h": 350.6
  },
  "luminance": 0.34476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D786AC

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

Preview Lab → · Contrast checker → · Palette generator →

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