#E787B2#E787B2

#E787B2 is a light, vivid pink. Relative luminance 0.375; OKLCH L 73.8% C 0.127 H 352.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#E787B2
RGBrgb(231, 135, 178)
HSLhsl(333, 67%, 72%)
HSVhsv(333, 42%, 91%)
CMYKcmyk(0%, 41.6%, 22.9%, 9.4%)
CIE-LABlab(67.68, 42.03, -6.60)
CIE-LCHlch(67.68, 42.54, 351.07°)
OKLaboklab(73.79% 0.1261 -0.0169)
OKLCHoklch(73.79% 0.127 352.3)
XYZxyz(49.6560, 37.5348, 46.7404)
Luminance0.3753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787B2 #87E7BC
analogous
#E787E2 #E787B2 #E78C87
triadic
#E787B2 #B2E787 #87B2E7
tetradic
#E787B2 #E2E787 #87E7BC #8C87E7
square
#E787B2 #E2E787 #87E7BC #8C87E7
split-complementary
#E787B2 #87E78C #87E2E7
monochromatic
#CB2971 #DD5491 #E787B2 #F1BAD3 #FAE5EF

Accessibility & contrast

On white

2.47
#E787B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#E787B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787B2
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787B2#FFFFFF#000000##000000
##E787B21.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#929BB3
Deuteranopia (green-blind)
#AAABB0
Tritanopia (blue-blind)
#F48396
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e787b2;
/* rgb */ color: rgb(231, 135, 178);
/* oklch */ color: oklch(73.8% 0.127 352.3);
Tailwind
colors: {
  custom: {
    50: '#f0acc9',
    500: '#e787b2',
    950: '#000000',
  },
}
SCSS
$custom: #e787b2;
$custom-light: #f0acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#e787b2",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 333.125,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73786,
    "c": 0.12727,
    "h": 352.3
  },
  "luminance": 0.37531
}

Semantic roles & 50–950 ramp

primary
#E787B2
secondary
#D9F1E6
accent
#CF7C17
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #E787B2

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

Preview Lab → · Contrast checker → · Palette generator →

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