#E787B6#E787B6

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

Color values

HEX#E787B6
RGBrgb(231, 135, 182)
HSLhsl(331, 67%, 72%)
HSVhsv(331, 42%, 91%)
CMYKcmyk(0%, 41.6%, 21.2%, 9.4%)
CIE-LABlab(67.80, 42.60, -8.67)
CIE-LCHlch(67.80, 43.48, 348.50°)
OKLaboklab(73.92% 0.1274 -0.0225)
OKLCHoklch(73.92% 0.129 350)
XYZxyz(50.0635, 37.6978, 48.8865)
Luminance0.3769 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787B6 #87E7B8
analogous
#E787E6 #E787B6 #E78887
triadic
#E787B6 #B6E787 #87B6E7
tetradic
#E787B6 #E6E787 #87E7B8 #8887E7
square
#E787B6 #E6E787 #87E7B8 #8887E7
split-complementary
#E787B6 #87E788 #87E6E7
monochromatic
#CB2978 #DD5497 #E787B6 #F1BAD5 #FAE5EF

Accessibility & contrast

On white

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

On black

8.54
#E787B6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787B6
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787B6#FFFFFF#000000##000000
##E787B61.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#909BB8
Deuteranopia (green-blind)
#A9ABB4
Tritanopia (blue-blind)
#F48498
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e787b6;
/* rgb */ color: rgb(231, 135, 182);
/* oklch */ color: oklch(73.9% 0.129 350.0);
Tailwind
colors: {
  custom: {
    50: '#f0accb',
    500: '#e787b6',
    950: '#000000',
  },
}
SCSS
$custom: #e787b6;
$custom-light: #f0accb;
$custom-dark: #000000;
JSON
{
  "hex": "#e787b6",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 182
  },
  "hsl": {
    "h": 330.625,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73917,
    "c": 0.12941,
    "h": 350
  },
  "luminance": 0.37694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E787B6

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

Preview Lab → · Contrast checker → · Palette generator →

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