#E787BF#E787BF

#E787BF is a light, vivid pink. Relative luminance 0.381; OKLCH L 74.2% C 0.135 H 344.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#E787BF
RGBrgb(231, 135, 191)
HSLhsl(325, 67%, 72%)
HSVhsv(325, 42%, 91%)
CMYKcmyk(0%, 41.6%, 17.3%, 9.4%)
CIE-LABlab(68.08, 43.95, -13.29)
CIE-LCHlch(68.08, 45.91, 343.18°)
OKLaboklab(74.22% 0.1302 -0.035)
OKLCHoklch(74.22% 0.135 344.9)
XYZxyz(51.0236, 38.0818, 53.9432)
Luminance0.3808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787BF #87E7AF
analogous
#DF87E7 #E787BF #E7878F
triadic
#E787BF #BFE787 #87BFE7
tetradic
#E787BF #E7DF87 #87E7AF #878FE7
square
#E787BF #E7DF87 #87E7AF #878FE7
split-complementary
#E787BF #8FE787 #87E7DF
monochromatic
#CB2987 #DD54A4 #E787BF #F1BADA #FAE5F1

Accessibility & contrast

On white

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

On black

8.62
#E787BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787BF
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787BF#FFFFFF#000000##000000
##E787BF1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9CC1
Deuteranopia (green-blind)
#A6ACBC
Tritanopia (blue-blind)
#F2869B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e787bf;
/* rgb */ color: rgb(231, 135, 191);
/* oklch */ color: oklch(74.2% 0.135 344.9);
Tailwind
colors: {
  custom: {
    50: '#f0acd2',
    500: '#e787bf',
    950: '#000000',
  },
}
SCSS
$custom: #e787bf;
$custom-light: #f0acd2;
$custom-dark: #000000;
JSON
{
  "hex": "#e787bf",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 325,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74225,
    "c": 0.13486,
    "h": 344.9
  },
  "luminance": 0.38078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E787BF

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

Preview Lab → · Contrast checker → · Palette generator →

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