#D787C8#D787C8

#D787C8 is a light, vivid pink. Relative luminance 0.359; OKLCH L 72.7% C 0.128 H 333.9°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#D787C8
RGBrgb(215, 135, 200)
HSLhsl(311, 50%, 69%)
HSVhsv(311, 37%, 84%)
CMYKcmyk(0%, 37.2%, 7%, 15.7%)
CIE-LABlab(66.48, 40.19, -20.93)
CIE-LCHlch(66.48, 45.31, 332.49°)
OKLaboklab(72.71% 0.115 -0.0563)
OKLCHoklch(72.71% 0.128 333.9)
XYZxyz(47.1133, 35.9475, 59.0893)
Luminance0.3594 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D787C8 #87D796
analogous
#BE87D7 #D787C8 #D787A0
triadic
#D787C8 #C8D787 #87C8D7
tetradic
#D787C8 #D7BE87 #87D796 #87A0D7
square
#D787C8 #D7BE87 #87D796 #87A0D7
split-complementary
#D787C8 #A0D787 #87D7BE
monochromatic
#AB3995 #C859B3 #D787C8 #E6B5DD #F6E3F2

Accessibility & contrast

On white

2.56
#D787C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#D787C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D787C8
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D787C8#FFFFFF#000000##000000
##D787C81.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCA
Deuteranopia (green-blind)
#9BA6C6
Tritanopia (blue-blind)
#DE8B9F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d787c8;
/* rgb */ color: rgb(215, 135, 200);
/* oklch */ color: oklch(72.7% 0.128 333.9);
Tailwind
colors: {
  custom: {
    50: '#e4abd8',
    500: '#d787c8',
    950: '#000000',
  },
}
SCSS
$custom: #d787c8;
$custom-light: #e4abd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d787c8",
  "rgb": {
    "r": 215,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 311.25,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72706,
    "c": 0.12801,
    "h": 333.9
  },
  "luminance": 0.35945
}

Semantic roles & 50–950 ramp

primary
#D787C8
secondary
#D1E9D5
accent
#BD4428
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #D787C8

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

Preview Lab → · Contrast checker → · Palette generator →

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