#E787AF#E787AF

#E787AF is a light, vivid pink. Relative luminance 0.374; OKLCH L 73.7% C 0.126 H 354.2°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#E787AF
RGBrgb(231, 135, 175)
HSLhsl(335, 67%, 72%)
HSVhsv(335, 42%, 91%)
CMYKcmyk(0%, 41.6%, 24.2%, 9.4%)
CIE-LABlab(67.59, 41.60, -5.05)
CIE-LCHlch(67.59, 41.91, 353.08°)
OKLaboklab(73.69% 0.1252 -0.0128)
OKLCHoklch(73.69% 0.126 354.2)
XYZxyz(49.3581, 37.4156, 45.1714)
Luminance0.3741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E787AF #87E7BF
analogous
#E787DF #E787AF #E78F87
triadic
#E787AF #AFE787 #87AFE7
tetradic
#E787AF #DFE787 #87E7BF #8F87E7
square
#E787AF #DFE787 #87E7BF #8F87E7
split-complementary
#E787AF #87E78F #87DFE7
monochromatic
#CB296C #DD548D #E787AF #F1BAD1 #FAE5EE

Accessibility & contrast

On white

2.48
#E787AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#E787AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E787AF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E787AF#FFFFFF#000000##000000
##E787AF1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#929AB0
Deuteranopia (green-blind)
#AAABAD
Tritanopia (blue-blind)
#F48395
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e787af;
/* rgb */ color: rgb(231, 135, 175);
/* oklch */ color: oklch(73.7% 0.126 354.2);
Tailwind
colors: {
  custom: {
    50: '#f1acc6',
    500: '#e787af',
    950: '#000000',
  },
}
SCSS
$custom: #e787af;
$custom-light: #f1acc6;
$custom-dark: #000000;
JSON
{
  "hex": "#e787af",
  "rgb": {
    "r": 231,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 335,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7369,
    "c": 0.1258,
    "h": 354.2
  },
  "luminance": 0.37412
}

Semantic roles & 50–950 ramp

primary
#E787AF
secondary
#D9F1E7
accent
#CF8217
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #E787AF

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

Preview Lab → · Contrast checker → · Palette generator →

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