#E787CD#E787CD

#E787CD is a light, vivid pink. Relative luminance 0.387; OKLCH L 74.7% C 0.145 H 337.9°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#E787CD
RGBrgb(231, 135, 205)
HSLhsl(316, 67%, 72%)
HSVhsv(316, 42%, 91%)
CMYKcmyk(0%, 41.6%, 11.3%, 9.4%)
CIE-LABlab(68.55, 46.15, -20.39)
CIE-LCHlch(68.55, 50.45, 336.17°)
OKLaboklab(74.74% 0.1342 -0.0546)
OKLCHoklch(74.74% 0.145 337.9)
XYZxyz(52.6385, 38.7278, 62.4484)
Luminance0.3872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787CD #87E7A1
analogous
#D187E7 #E787CD #E7879D
triadic
#E787CD #CDE787 #87CDE7
tetradic
#E787CD #E7D187 #87E7A1 #879DE7
square
#E787CD #E7D187 #87E7A1 #879DE7
split-complementary
#E787CD #9DE787 #87E7D1
monochromatic
#CB299F #DD54B8 #E787CD #F1BAE2 #FAE5F4

Accessibility & contrast

On white

2.40
#E787CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#E787CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787CD
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787CD#FFFFFF#000000##000000
##E787CD1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#899ED0
Deuteranopia (green-blind)
#A2ADCA
Tritanopia (blue-blind)
#F18AA1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e787cd;
/* rgb */ color: rgb(231, 135, 205);
/* oklch */ color: oklch(74.7% 0.145 337.9);
Tailwind
colors: {
  custom: {
    50: '#f0acdc',
    500: '#e787cd',
    950: '#000000',
  },
}
SCSS
$custom: #e787cd;
$custom-light: #f0acdc;
$custom-dark: #000000;
JSON
{
  "hex": "#e787cd",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 316.25,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74737,
    "c": 0.1449,
    "h": 337.9
  },
  "luminance": 0.38725
}

Semantic roles & 50–950 ramp

primary
#E787CD
secondary
#D9F1DF
accent
#CF4917
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #E787CD

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

Preview Lab → · Contrast checker → · Palette generator →

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