#E786A7#E786A7

#E786A7 is a light, vivid pink. Relative luminance 0.368; OKLCH L 73.3% C 0.124 H 358.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#E786A7
RGBrgb(231, 134, 167)
HSLhsl(340, 67%, 72%)
HSVhsv(340, 42%, 91%)
CMYKcmyk(0%, 42%, 27.7%, 9.4%)
CIE-LABlab(67.15, 41.02, -1.19)
CIE-LCHlch(67.15, 41.04, 358.34°)
OKLaboklab(73.28% 0.124 -0.0026)
OKLCHoklch(73.28% 0.124 358.8)
XYZxyz(48.4567, 36.8329, 41.1090)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786A7 #86E7C6
analogous
#E786D8 #E786A7 #E79686
triadic
#E786A7 #A7E786 #86A7E7
tetradic
#E786A7 #D8E786 #86E7C6 #9686E7
square
#E786A7 #D8E786 #86E7C6 #9686E7
split-complementary
#E786A7 #86E796 #86D8E7
monochromatic
#CA285F #DD5382 #E786A7 #F1B9CC #FAE5EC

Accessibility & contrast

On white

2.51
#E786A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#E786A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786A7
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786A7#FFFFFF#000000##000000
##E786A71.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9399A8
Deuteranopia (green-blind)
#ACAAA5
Tritanopia (blue-blind)
#F58092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e786a7;
/* rgb */ color: rgb(231, 134, 167);
/* oklch */ color: oklch(73.3% 0.124 358.8);
Tailwind
colors: {
  custom: {
    50: '#f1abc1',
    500: '#e786a7',
    950: '#000000',
  },
}
SCSS
$custom: #e786a7;
$custom-light: #f1abc1;
$custom-dark: #000000;
JSON
{
  "hex": "#e786a7",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 167
  },
  "hsl": {
    "h": 339.588,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73284,
    "c": 0.12401,
    "h": 358.8
  },
  "luminance": 0.36829
}

Semantic roles & 50–950 ramp

primary
#E786A7
secondary
#D8F1E8
accent
#CF9017
background
#FFFAFB
surface
#FEF4F7
border
#D6CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #E786A7

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

Preview Lab → · Contrast checker → · Palette generator →

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