#E787BA#E787BA

#E787BA is a light, vivid pink. Relative luminance 0.379; OKLCH L 74.1% C 0.132 H 347.7°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#E787BA
RGBrgb(231, 135, 186)
HSLhsl(328, 67%, 72%)
HSVhsv(328, 42%, 91%)
CMYKcmyk(0%, 41.6%, 19.5%, 9.4%)
CIE-LABlab(67.92, 43.19, -10.73)
CIE-LCHlch(67.92, 44.50, 346.05°)
OKLaboklab(74.05% 0.1287 -0.0281)
OKLCHoklch(74.05% 0.132 347.7)
XYZxyz(50.4828, 37.8655, 51.0947)
Luminance0.3786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787BA #87E7B4
analogous
#E487E7 #E787BA #E7878A
triadic
#E787BA #BAE787 #87BAE7
tetradic
#E787BA #E7E487 #87E7B4 #878AE7
square
#E787BA #E7E487 #87E7B4 #878AE7
split-complementary
#E787BA #8AE787 #87E7E4
monochromatic
#CB297F #DD549D #E787BA #F1BAD7 #FAE5F0

Accessibility & contrast

On white

2.45
#E787BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#E787BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787BA
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787BA#FFFFFF#000000##000000
##E787BA1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9CBC
Deuteranopia (green-blind)
#A8ACB8
Tritanopia (blue-blind)
#F38599
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e787ba;
/* rgb */ color: rgb(231, 135, 186);
/* oklch */ color: oklch(74.1% 0.132 347.7);
Tailwind
colors: {
  custom: {
    50: '#f0acce',
    500: '#e787ba',
    950: '#000000',
  },
}
SCSS
$custom: #e787ba;
$custom-light: #f0acce;
$custom-dark: #000000;
JSON
{
  "hex": "#e787ba",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 186
  },
  "hsl": {
    "h": 328.125,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74052,
    "c": 0.13173,
    "h": 347.7
  },
  "luminance": 0.37862
}

Semantic roles & 50–950 ramp

primary
#E787BA
secondary
#D9F1E4
accent
#CF6D17
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#171013
muted
#857F82

Preview Lab

Preview with #E787BA

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

Preview Lab → · Contrast checker → · Palette generator →

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