#E787BD#E787BD

#E787BD is a light, vivid pink. Relative luminance 0.380; OKLCH L 74.2% C 0.134 H 346.0°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#E787BD
RGBrgb(231, 135, 189)
HSLhsl(326, 67%, 72%)
HSVhsv(326, 42%, 91%)
CMYKcmyk(0%, 41.6%, 18.2%, 9.4%)
CIE-LABlab(68.02, 43.64, -12.26)
CIE-LCHlch(68.02, 45.33, 344.30°)
OKLaboklab(74.16% 0.1296 -0.0322)
OKLCHoklch(74.16% 0.134 346)
XYZxyz(50.8050, 37.9944, 52.7920)
Luminance0.3799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787BD #87E7B1
analogous
#E187E7 #E787BD #E7878D
triadic
#E787BD #BDE787 #87BDE7
tetradic
#E787BD #E7E187 #87E7B1 #878DE7
square
#E787BD #E7E187 #87E7B1 #878DE7
split-complementary
#E787BD #8DE787 #87E7E1
monochromatic
#CB2984 #DD54A1 #E787BD #F1BAD9 #FAE5F1

Accessibility & contrast

On white

2.44
#E787BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#E787BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787BD
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787BD#FFFFFF#000000##000000
##E787BD1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9CBF
Deuteranopia (green-blind)
#A7ACBB
Tritanopia (blue-blind)
#F3869B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e787bd;
/* rgb */ color: rgb(231, 135, 189);
/* oklch */ color: oklch(74.2% 0.134 346.0);
Tailwind
colors: {
  custom: {
    50: '#f0acd0',
    500: '#e787bd',
    950: '#000000',
  },
}
SCSS
$custom: #e787bd;
$custom-light: #f0acd0;
$custom-dark: #000000;
JSON
{
  "hex": "#e787bd",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 326.25,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74155,
    "c": 0.13358,
    "h": 346
  },
  "luminance": 0.37991
}

Semantic roles & 50–950 ramp

primary
#E787BD
secondary
#D9F1E3
accent
#CF6717
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#171014
muted
#857F82

Preview Lab

Preview with #E787BD

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

Preview Lab → · Contrast checker → · Palette generator →

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