#E787A7#E787A7

#E787A7 is a light, vivid pink. Relative luminance 0.371; OKLCH L 73.4% C 0.122 H 359.2°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#E787A7
RGBrgb(231, 135, 167)
HSLhsl(340, 67%, 72%)
HSVhsv(340, 42%, 91%)
CMYKcmyk(0%, 41.6%, 27.7%, 9.4%)
CIE-LABlab(67.36, 40.50, -0.88)
CIE-LCHlch(67.36, 40.51, 358.75°)
OKLaboklab(73.44% 0.1224 -0.0018)
OKLCHoklch(73.44% 0.122 359.2)
XYZxyz(48.5955, 37.1106, 41.1553)
Luminance0.3711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787A7 #87E7C7
analogous
#E787D7 #E787A7 #E79787
triadic
#E787A7 #A7E787 #87A7E7
tetradic
#E787A7 #D7E787 #87E7C7 #9787E7
square
#E787A7 #D7E787 #87E7C7 #9787E7
split-complementary
#E787A7 #87E797 #87D7E7
monochromatic
#CB295F #DD5482 #E787A7 #F1BACC #FAE5EC

Accessibility & contrast

On white

2.49
#E787A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#E787A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787A7
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787A7#FFFFFF#000000##000000
##E787A71.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9499A8
Deuteranopia (green-blind)
#ACABA5
Tritanopia (blue-blind)
#F58192
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e787a7;
/* rgb */ color: rgb(231, 135, 167);
/* oklch */ color: oklch(73.4% 0.122 359.2);
Tailwind
colors: {
  custom: {
    50: '#f1abc1',
    500: '#e787a7',
    950: '#000000',
  },
}
SCSS
$custom: #e787a7;
$custom-light: #f1abc1;
$custom-dark: #000000;
JSON
{
  "hex": "#e787a7",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 167
  },
  "hsl": {
    "h": 340,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73442,
    "c": 0.12243,
    "h": 359.2
  },
  "luminance": 0.37107
}

Semantic roles & 50–950 ramp

primary
#E787A7
secondary
#D9F1E9
accent
#CF9117
background
#FFFAFB
surface
#FEF4F7
border
#D6CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #E787A7

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

Preview Lab → · Contrast checker → · Palette generator →

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