#D787BC#D787BC

#D787BC is a light, moderate pink. Relative luminance 0.354; OKLCH L 72.3% C 0.118 H 340.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#D787BC
RGBrgb(215, 135, 188)
HSLhsl(320, 50%, 69%)
HSVhsv(320, 37%, 84%)
CMYKcmyk(0%, 37.2%, 12.6%, 15.7%)
CIE-LABlab(66.07, 38.16, -14.83)
CIE-LCHlch(66.07, 40.95, 338.77°)
OKLaboklab(72.26% 0.1115 -0.0394)
OKLCHoklch(72.26% 0.118 340.5)
XYZxyz(45.7655, 35.4084, 51.9911)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D787BC #87D7A2
analogous
#CA87D7 #D787BC #D78794
triadic
#D787BC #BCD787 #87BCD7
tetradic
#D787BC #D7CA87 #87D7A2 #8794D7
square
#D787BC #D7CA87 #87D7A2 #8794D7
split-complementary
#D787BC #94D787 #87D7CA
monochromatic
#AB3984 #C859A2 #D787BC #E6B5D6 #F6E3EF

Accessibility & contrast

On white

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

On black

8.08
#D787BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D787BC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D787BC#FFFFFF#000000##000000
##D787BC1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A99BE
Deuteranopia (green-blind)
#9EA5BA
Tritanopia (blue-blind)
#E0889A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d787bc;
/* rgb */ color: rgb(215, 135, 188);
/* oklch */ color: oklch(72.3% 0.118 340.5);
Tailwind
colors: {
  custom: {
    50: '#e4abd0',
    500: '#d787bc',
    950: '#000000',
  },
}
SCSS
$custom: #d787bc;
$custom-light: #e4abd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d787bc",
  "rgb": {
    "r": 215,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 320.25,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72255,
    "c": 0.11828,
    "h": 340.5
  },
  "luminance": 0.35406
}

Semantic roles & 50–950 ramp

primary
#D787BC
secondary
#D1E9D9
accent
#BD5B28
background
#FEFAFC
surface
#FCF4F9
border
#D5CED2
text
#161014
muted
#847F82

Preview Lab

Preview with #D787BC

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

Preview Lab → · Contrast checker → · Palette generator →

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