#E787CA#E787CA

#E787CA is a light, vivid pink. Relative luminance 0.386; OKLCH L 74.6% C 0.143 H 339.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#E787CA
RGBrgb(231, 135, 202)
HSLhsl(318, 67%, 72%)
HSVhsv(318, 42%, 91%)
CMYKcmyk(0%, 41.6%, 12.6%, 9.4%)
CIE-LABlab(68.45, 45.67, -18.87)
CIE-LCHlch(68.45, 49.41, 337.54°)
OKLaboklab(74.62% 0.1334 -0.0504)
OKLCHoklch(74.62% 0.143 339.3)
XYZxyz(52.2799, 38.5843, 60.5595)
Luminance0.3858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787CA #87E7A4
analogous
#D487E7 #E787CA #E7879A
triadic
#E787CA #CAE787 #87CAE7
tetradic
#E787CA #E7D487 #87E7A4 #879AE7
square
#E787CA #E7D487 #87E7A4 #879AE7
split-complementary
#E787CA #9AE787 #87E7D4
monochromatic
#CB299A #DD54B3 #E787CA #F1BAE1 #FAE5F4

Accessibility & contrast

On white

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

On black

8.72
#E787CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787CA
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787CA#FFFFFF#000000##000000
##E787CA1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9ECC
Deuteranopia (green-blind)
#A3ACC7
Tritanopia (blue-blind)
#F189A0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e787ca;
/* rgb */ color: rgb(231, 135, 202);
/* oklch */ color: oklch(74.6% 0.143 339.3);
Tailwind
colors: {
  custom: {
    50: '#f0acda',
    500: '#e787ca',
    950: '#000000',
  },
}
SCSS
$custom: #e787ca;
$custom-light: #f0acda;
$custom-dark: #000000;
JSON
{
  "hex": "#e787ca",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 318.125,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74624,
    "c": 0.1426,
    "h": 339.3
  },
  "luminance": 0.38581
}

Semantic roles & 50–950 ramp

primary
#E787CA
secondary
#D9F1E0
accent
#CF4E17
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #E787CA

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

Preview Lab → · Contrast checker → · Palette generator →

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