#E787B5#E787B5

#E787B5 is a light, vivid pink. Relative luminance 0.377; OKLCH L 73.9% C 0.129 H 350.6°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#E787B5
RGBrgb(231, 135, 181)
HSLhsl(331, 67%, 72%)
HSVhsv(331, 42%, 91%)
CMYKcmyk(0%, 41.6%, 21.6%, 9.4%)
CIE-LABlab(67.77, 42.46, -8.15)
CIE-LCHlch(67.77, 43.23, 349.13°)
OKLaboklab(73.88% 0.1271 -0.0211)
OKLCHoklch(73.88% 0.129 350.6)
XYZxyz(49.9605, 37.6566, 48.3441)
Luminance0.3765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787B5 #87E7B9
analogous
#E787E5 #E787B5 #E78987
triadic
#E787B5 #B5E787 #87B5E7
tetradic
#E787B5 #E5E787 #87E7B9 #8987E7
square
#E787B5 #E5E787 #87E7B9 #8987E7
split-complementary
#E787B5 #87E789 #87E5E7
monochromatic
#CB2976 #DD5496 #E787B5 #F1BAD4 #FAE5EF

Accessibility & contrast

On white

2.46
#E787B5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#E787B5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787B5
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787B5#FFFFFF#000000##000000
##E787B51.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#919BB7
Deuteranopia (green-blind)
#A9ABB3
Tritanopia (blue-blind)
#F48497
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e787b5;
/* rgb */ color: rgb(231, 135, 181);
/* oklch */ color: oklch(73.9% 0.129 350.6);
Tailwind
colors: {
  custom: {
    50: '#f0accb',
    500: '#e787b5',
    950: '#000000',
  },
}
SCSS
$custom: #e787b5;
$custom-light: #f0accb;
$custom-dark: #000000;
JSON
{
  "hex": "#e787b5",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 181
  },
  "hsl": {
    "h": 331.25,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73884,
    "c": 0.12886,
    "h": 350.6
  },
  "luminance": 0.37653
}

Semantic roles & 50–950 ramp

primary
#E787B5
secondary
#D9F1E5
accent
#CF7717
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #E787B5

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

Preview Lab → · Contrast checker → · Palette generator →

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