#E787C0#E787C0

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

Color values

HEX#E787C0
RGBrgb(231, 135, 192)
HSLhsl(324, 67%, 72%)
HSVhsv(324, 42%, 91%)
CMYKcmyk(0%, 41.6%, 16.9%, 9.4%)
CIE-LABlab(68.11, 44.10, -13.80)
CIE-LCHlch(68.11, 46.21, 342.63°)
OKLaboklab(74.26% 0.1305 -0.0364)
OKLCHoklch(74.26% 0.136 344.4)
XYZxyz(51.1340, 38.1260, 54.5247)
Luminance0.3812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787C0 #87E7AE
analogous
#DE87E7 #E787C0 #E78790
triadic
#E787C0 #C0E787 #87C0E7
tetradic
#E787C0 #E7DE87 #87E7AE #8790E7
square
#E787C0 #E7DE87 #87E7AE #8790E7
split-complementary
#E787C0 #90E787 #87E7DE
monochromatic
#CB2989 #DD54A5 #E787C0 #F1BADB #FAE5F2

Accessibility & contrast

On white

2.43
#E787C0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##E787C0#FFFFFF#000000##000000
##E787C01.002.438.628.62
#FFFFFF2.431.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9CC2
Deuteranopia (green-blind)
#A6ACBD
Tritanopia (blue-blind)
#F2879C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e787c0;
/* rgb */ color: rgb(231, 135, 192);
/* oklch */ color: oklch(74.3% 0.136 344.4);
Tailwind
colors: {
  custom: {
    50: '#f0acd3',
    500: '#e787c0',
    950: '#000000',
  },
}
SCSS
$custom: #e787c0;
$custom-light: #f0acd3;
$custom-dark: #000000;
JSON
{
  "hex": "#e787c0",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 192
  },
  "hsl": {
    "h": 324.375,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74261,
    "c": 0.13552,
    "h": 344.4
  },
  "luminance": 0.38123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E787C0

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

Preview Lab → · Contrast checker → · Palette generator →

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