#D787BE#D787BE

#D787BE is a light, moderate pink. Relative luminance 0.355; OKLCH L 72.3% C 0.120 H 339.4°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D787BE
RGBrgb(215, 135, 190)
HSLhsl(319, 50%, 69%)
HSVhsv(319, 37%, 84%)
CMYKcmyk(0%, 37.2%, 11.6%, 15.7%)
CIE-LABlab(66.13, 38.49, -15.85)
CIE-LCHlch(66.13, 41.63, 337.62°)
OKLaboklab(72.33% 0.1121 -0.0422)
OKLCHoklch(72.33% 0.12 339.4)
XYZxyz(45.9826, 35.4952, 53.1345)
Luminance0.3549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D787BE #87D7A0
analogous
#C887D7 #D787BE #D78796
triadic
#D787BE #BED787 #87BED7
tetradic
#D787BE #D7C887 #87D7A0 #8796D7
square
#D787BE #D7C887 #87D7A0 #8796D7
split-complementary
#D787BE #96D787 #87D7C8
monochromatic
#AB3987 #C859A5 #D787BE #E6B5D7 #F6E3F0

Accessibility & contrast

On white

2.59
#D787BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#D787BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D787BE
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D787BE#FFFFFF#000000##000000
##D787BE1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A99C0
Deuteranopia (green-blind)
#9EA5BC
Tritanopia (blue-blind)
#E0899B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d787be;
/* rgb */ color: rgb(215, 135, 190);
/* oklch */ color: oklch(72.3% 0.120 339.4);
Tailwind
colors: {
  custom: {
    50: '#e4abd1',
    500: '#d787be',
    950: '#000000',
  },
}
SCSS
$custom: #d787be;
$custom-light: #e4abd1;
$custom-dark: #000000;
JSON
{
  "hex": "#d787be",
  "rgb": {
    "r": 215,
    "g": 135,
    "b": 190
  },
  "hsl": {
    "h": 318.75,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72328,
    "c": 0.1198,
    "h": 339.4
  },
  "luminance": 0.35493
}

Semantic roles & 50–950 ramp

primary
#D787BE
secondary
#D1E9D8
accent
#BD5728
background
#FEFAFC
surface
#FCF4F9
border
#D5CED2
text
#161014
muted
#847F82

Preview Lab

Preview with #D787BE

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

Preview Lab → · Contrast checker → · Palette generator →

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