#D787BF#D787BF

#D787BF is a light, vivid pink. Relative luminance 0.355; OKLCH L 72.4% C 0.121 H 338.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#D787BF
RGBrgb(215, 135, 191)
HSLhsl(318, 50%, 69%)
HSVhsv(318, 37%, 84%)
CMYKcmyk(0%, 37.2%, 11.2%, 15.7%)
CIE-LABlab(66.17, 38.66, -16.36)
CIE-LCHlch(66.17, 41.98, 337.06°)
OKLaboklab(72.36% 0.1124 -0.0436)
OKLCHoklch(72.36% 0.121 338.8)
XYZxyz(46.0923, 35.5391, 53.7120)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D787BF #87D79F
analogous
#C787D7 #D787BF #D78797
triadic
#D787BF #BFD787 #87BFD7
tetradic
#D787BF #D7C787 #87D79F #8797D7
square
#D787BF #D7C787 #87D79F #8797D7
split-complementary
#D787BF #97D787 #87D7C7
monochromatic
#AB3989 #C859A7 #D787BF #E6B5D7 #F6E3F0

Accessibility & contrast

On white

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

On black

8.11
#D787BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D787BF
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D787BF#FFFFFF#000000##000000
##D787BF1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8999C1
Deuteranopia (green-blind)
#9DA5BD
Tritanopia (blue-blind)
#DF899B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d787bf;
/* rgb */ color: rgb(215, 135, 191);
/* oklch */ color: oklch(72.4% 0.121 338.8);
Tailwind
colors: {
  custom: {
    50: '#e4abd2',
    500: '#d787bf',
    950: '#000000',
  },
}
SCSS
$custom: #d787bf;
$custom-light: #e4abd2;
$custom-dark: #000000;
JSON
{
  "hex": "#d787bf",
  "rgb": {
    "r": 215,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 318,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72365,
    "c": 0.12059,
    "h": 338.8
  },
  "luminance": 0.35537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D787BF

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

Preview Lab → · Contrast checker → · Palette generator →

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