#E787BC#E787BC

#E787BC is a light, vivid pink. Relative luminance 0.379; OKLCH L 74.1% C 0.133 H 346.6°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#E787BC
RGBrgb(231, 135, 188)
HSLhsl(327, 67%, 72%)
HSVhsv(327, 42%, 91%)
CMYKcmyk(0%, 41.6%, 18.6%, 9.4%)
CIE-LABlab(67.98, 43.49, -11.75)
CIE-LCHlch(67.98, 45.05, 344.88°)
OKLaboklab(74.12% 0.1293 -0.0309)
OKLCHoklch(74.12% 0.133 346.6)
XYZxyz(50.6969, 37.9511, 52.2223)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787BC #87E7B2
analogous
#E287E7 #E787BC #E7878C
triadic
#E787BC #BCE787 #87BCE7
tetradic
#E787BC #E7E287 #87E7B2 #878CE7
square
#E787BC #E7E287 #87E7B2 #878CE7
split-complementary
#E787BC #8CE787 #87E7E2
monochromatic
#CB2982 #DD54A0 #E787BC #F1BAD8 #FAE5F1

Accessibility & contrast

On white

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

On black

8.59
#E787BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787BC
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787BC#FFFFFF#000000##000000
##E787BC1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9CBE
Deuteranopia (green-blind)
#A7ACBA
Tritanopia (blue-blind)
#F3869A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e787bc;
/* rgb */ color: rgb(231, 135, 188);
/* oklch */ color: oklch(74.1% 0.133 346.6);
Tailwind
colors: {
  custom: {
    50: '#f0acd0',
    500: '#e787bc',
    950: '#000000',
  },
}
SCSS
$custom: #e787bc;
$custom-light: #f0acd0;
$custom-dark: #000000;
JSON
{
  "hex": "#e787bc",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 326.875,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74121,
    "c": 0.13295,
    "h": 346.6
  },
  "luminance": 0.37948
}

Semantic roles & 50–950 ramp

primary
#E787BC
secondary
#D9F1E4
accent
#CF6917
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#171014
muted
#857F82

Preview Lab

Preview with #E787BC

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

Preview Lab → · Contrast checker → · Palette generator →

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