#E787C2#E787C2

#E787C2 is a light, vivid pink. Relative luminance 0.382; OKLCH L 74.3% C 0.137 H 343.3°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#E787C2
RGBrgb(231, 135, 194)
HSLhsl(323, 67%, 72%)
HSVhsv(323, 42%, 91%)
CMYKcmyk(0%, 41.6%, 16%, 9.4%)
CIE-LABlab(68.18, 44.41, -14.82)
CIE-LCHlch(68.18, 46.81, 341.55°)
OKLaboklab(74.33% 0.1311 -0.0392)
OKLCHoklch(74.33% 0.137 343.3)
XYZxyz(51.3571, 38.2152, 55.6997)
Luminance0.3821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787C2 #87E7AC
analogous
#DC87E7 #E787C2 #E78792
triadic
#E787C2 #C2E787 #87C2E7
tetradic
#E787C2 #E7DC87 #87E7AC #8792E7
square
#E787C2 #E7DC87 #87E7AC #8792E7
split-complementary
#E787C2 #92E787 #87E7DC
monochromatic
#CB298C #DD54A8 #E787C2 #F1BADC #FAE5F2

Accessibility & contrast

On white

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

On black

8.64
#E787C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787C2
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787C2#FFFFFF#000000##000000
##E787C21.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9DC4
Deuteranopia (green-blind)
#A6ACBF
Tritanopia (blue-blind)
#F2879D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e787c2;
/* rgb */ color: rgb(231, 135, 194);
/* oklch */ color: oklch(74.3% 0.137 343.3);
Tailwind
colors: {
  custom: {
    50: '#f0acd4',
    500: '#e787c2',
    950: '#000000',
  },
}
SCSS
$custom: #e787c2;
$custom-light: #f0acd4;
$custom-dark: #000000;
JSON
{
  "hex": "#e787c2",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 323.125,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74332,
    "c": 0.13686,
    "h": 343.3
  },
  "luminance": 0.38212
}

Semantic roles & 50–950 ramp

primary
#E787C2
secondary
#D9F1E2
accent
#CF5E17
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #E787C2

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

Preview Lab → · Contrast checker → · Palette generator →

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