#E787AB#E787AB

#E787AB is a light, vivid pink. Relative luminance 0.373; OKLCH L 73.6% C 0.124 H 356.6°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#E787AB
RGBrgb(231, 135, 171)
HSLhsl(338, 67%, 72%)
HSVhsv(338, 42%, 91%)
CMYKcmyk(0%, 41.6%, 26%, 9.4%)
CIE-LABlab(67.47, 41.05, -2.97)
CIE-LCHlch(67.47, 41.15, 355.86°)
OKLaboklab(73.56% 0.1238 -0.0073)
OKLCHoklch(73.56% 0.124 356.6)
XYZxyz(48.9710, 37.2608, 43.1330)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787AB #87E7C3
analogous
#E787DB #E787AB #E79387
triadic
#E787AB #ABE787 #87ABE7
tetradic
#E787AB #DBE787 #87E7C3 #9387E7
square
#E787AB #DBE787 #87E7C3 #9387E7
split-complementary
#E787AB #87E793 #87DBE7
monochromatic
#CB2966 #DD5487 #E787AB #F1BACF #FAE5ED

Accessibility & contrast

On white

2.48
#E787AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#E787AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787AB
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787AB#FFFFFF#000000##000000
##E787AB1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#939AAC
Deuteranopia (green-blind)
#ABABA9
Tritanopia (blue-blind)
#F58294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e787ab;
/* rgb */ color: rgb(231, 135, 171);
/* oklch */ color: oklch(73.6% 0.124 356.6);
Tailwind
colors: {
  custom: {
    50: '#f1acc4',
    500: '#e787ab',
    950: '#000000',
  },
}
SCSS
$custom: #e787ab;
$custom-light: #f1acc4;
$custom-dark: #000000;
JSON
{
  "hex": "#e787ab",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 171
  },
  "hsl": {
    "h": 337.5,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73564,
    "c": 0.12401,
    "h": 356.6
  },
  "luminance": 0.37257
}

Semantic roles & 50–950 ramp

primary
#E787AB
secondary
#D9F1E8
accent
#CF8A17
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#171012
muted
#857F81

Preview Lab

Preview with #E787AB

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

Preview Lab → · Contrast checker → · Palette generator →

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