#E787C8#E787C8

#E787C8 is a light, vivid pink. Relative luminance 0.385; OKLCH L 74.6% C 0.141 H 340.3°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#E787C8
RGBrgb(231, 135, 200)
HSLhsl(319, 67%, 72%)
HSVhsv(319, 42%, 91%)
CMYKcmyk(0%, 41.6%, 13.4%, 9.4%)
CIE-LABlab(68.38, 45.35, -17.86)
CIE-LCHlch(68.38, 48.74, 338.50°)
OKLaboklab(74.55% 0.1328 -0.0476)
OKLCHoklch(74.55% 0.141 340.3)
XYZxyz(52.0446, 38.4902, 59.3205)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787C8 #87E7A6
analogous
#D687E7 #E787C8 #E78798
triadic
#E787C8 #C8E787 #87C8E7
tetradic
#E787C8 #E7D687 #87E7A6 #8798E7
square
#E787C8 #E7D687 #87E7A6 #8798E7
split-complementary
#E787C8 #98E787 #87E7D6
monochromatic
#CB2997 #DD54B1 #E787C8 #F1BADF #FAE5F3

Accessibility & contrast

On white

2.41
#E787C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#E787C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787C8
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787C8#FFFFFF#000000##000000
##E787C81.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9DCA
Deuteranopia (green-blind)
#A4ACC5
Tritanopia (blue-blind)
#F1889F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e787c8;
/* rgb */ color: rgb(231, 135, 200);
/* oklch */ color: oklch(74.6% 0.141 340.3);
Tailwind
colors: {
  custom: {
    50: '#f0acd8',
    500: '#e787c8',
    950: '#000000',
  },
}
SCSS
$custom: #e787c8;
$custom-light: #f0acd8;
$custom-dark: #000000;
JSON
{
  "hex": "#e787c8",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 319.375,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7455,
    "c": 0.14112,
    "h": 340.3
  },
  "luminance": 0.38487
}

Semantic roles & 50–950 ramp

primary
#E787C8
secondary
#D9F1E1
accent
#CF5217
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #E787C8

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

Preview Lab → · Contrast checker → · Palette generator →

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