#E787CF#E787CF

#E787CF is a light, vivid pink. Relative luminance 0.388; OKLCH L 74.8% C 0.146 H 336.9°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#E787CF
RGBrgb(231, 135, 207)
HSLhsl(315, 67%, 72%)
HSVhsv(315, 42%, 91%)
CMYKcmyk(0%, 41.6%, 10.4%, 9.4%)
CIE-LABlab(68.62, 46.48, -21.39)
CIE-LCHlch(68.62, 51.16, 335.28°)
OKLaboklab(74.81% 0.1347 -0.0574)
OKLCHoklch(74.81% 0.146 336.9)
XYZxyz(52.8815, 38.8250, 63.7280)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787CF #87E79F
analogous
#CF87E7 #E787CF #E7879F
triadic
#E787CF #CFE787 #87CFE7
tetradic
#E787CF #E7CF87 #87E79F #879FE7
square
#E787CF #E7CF87 #87E79F #879FE7
split-complementary
#E787CF #9FE787 #87E7CF
monochromatic
#CB29A2 #DD54BB #E787CF #F1BAE3 #FAE5F5

Accessibility & contrast

On white

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

On black

8.76
#E787CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787CF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787CF#FFFFFF#000000##000000
##E787CF1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#899ED2
Deuteranopia (green-blind)
#A2ADCC
Tritanopia (blue-blind)
#F08AA2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e787cf;
/* rgb */ color: rgb(231, 135, 207);
/* oklch */ color: oklch(74.8% 0.146 336.9);
Tailwind
colors: {
  custom: {
    50: '#f0acdd',
    500: '#e787cf',
    950: '#000000',
  },
}
SCSS
$custom: #e787cf;
$custom-light: #f0acdd;
$custom-dark: #000000;
JSON
{
  "hex": "#e787cf",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 315,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74814,
    "c": 0.14646,
    "h": 336.9
  },
  "luminance": 0.38822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E787CF

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

Preview Lab → · Contrast checker → · Palette generator →

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