#D787BA#D787BA

#D787BA is a light, moderate pink. Relative luminance 0.353; OKLCH L 72.2% C 0.117 H 341.7°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#D787BA
RGBrgb(215, 135, 186)
HSLhsl(322, 50%, 69%)
HSVhsv(322, 37%, 84%)
CMYKcmyk(0%, 37.2%, 13.5%, 15.7%)
CIE-LABlab(66.00, 37.84, -13.81)
CIE-LCHlch(66.00, 40.28, 339.96°)
OKLaboklab(72.18% 0.1109 -0.0366)
OKLCHoklch(72.18% 0.117 341.7)
XYZxyz(45.5514, 35.3228, 50.8635)
Luminance0.3532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D787BA #87D7A4
analogous
#CC87D7 #D787BA #D78792
triadic
#D787BA #BAD787 #87BAD7
tetradic
#D787BA #D7CC87 #87D7A4 #8792D7
square
#D787BA #D7CC87 #87D7A4 #8792D7
split-complementary
#D787BA #92D787 #87D7CC
monochromatic
#AB3981 #C859A0 #D787BA #E6B5D4 #F6E3EF

Accessibility & contrast

On white

2.60
#D787BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#D787BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D787BA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D787BA#FFFFFF#000000##000000
##D787BA1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B99BC
Deuteranopia (green-blind)
#9FA5B8
Tritanopia (blue-blind)
#E08899
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d787ba;
/* rgb */ color: rgb(215, 135, 186);
/* oklch */ color: oklch(72.2% 0.117 341.7);
Tailwind
colors: {
  custom: {
    50: '#e4abce',
    500: '#d787ba',
    950: '#000000',
  },
}
SCSS
$custom: #d787ba;
$custom-light: #e4abce;
$custom-dark: #000000;
JSON
{
  "hex": "#d787ba",
  "rgb": {
    "r": 215,
    "g": 135,
    "b": 186
  },
  "hsl": {
    "h": 321.75,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72183,
    "c": 0.11679,
    "h": 341.7
  },
  "luminance": 0.3532
}

Semantic roles & 50–950 ramp

primary
#D787BA
secondary
#D1E9DA
accent
#BD5E28
background
#FEFAFC
surface
#FCF4F9
border
#D5CED2
text
#161013
muted
#847F82

Preview Lab

Preview with #D787BA

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

Preview Lab → · Contrast checker → · Palette generator →

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