#E786A6#E786A6

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

Color values

HEX#E786A6
RGBrgb(231, 134, 166)
HSLhsl(340, 67%, 72%)
HSVhsv(340, 42%, 91%)
CMYKcmyk(0%, 42%, 28.1%, 9.4%)
CIE-LABlab(67.12, 40.89, -0.66)
CIE-LCHlch(67.12, 40.89, 359.07°)
OKLaboklab(73.25% 0.1236 -0.0012)
OKLCHoklch(73.25% 0.124 359.4)
XYZxyz(48.3646, 36.7960, 40.6241)
Luminance0.3679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786A6 #86E7C7
analogous
#E786D7 #E786A6 #E79786
triadic
#E786A6 #A6E786 #86A6E7
tetradic
#E786A6 #D7E786 #86E7C7 #9786E7
square
#E786A6 #D7E786 #86E7C7 #9786E7
split-complementary
#E786A6 #86E797 #86D7E7
monochromatic
#CA285E #DD5380 #E786A6 #F1B9CC #FAE5EC

Accessibility & contrast

On white

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

On black

8.36
#E786A6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786A6
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786A6#FFFFFF#000000##000000
##E786A61.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9499A7
Deuteranopia (green-blind)
#ACAAA4
Tritanopia (blue-blind)
#F58091
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e786a6;
/* rgb */ color: rgb(231, 134, 166);
/* oklch */ color: oklch(73.3% 0.124 359.4);
Tailwind
colors: {
  custom: {
    50: '#f1abc0',
    500: '#e786a6',
    950: '#000000',
  },
}
SCSS
$custom: #e786a6;
$custom-light: #f1abc0;
$custom-dark: #000000;
JSON
{
  "hex": "#e786a6",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 166
  },
  "hsl": {
    "h": 340.206,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73253,
    "c": 0.12364,
    "h": 359.4
  },
  "luminance": 0.36792
}

Semantic roles & 50–950 ramp

primary
#E786A6
secondary
#D8F1E9
accent
#CF9217
background
#FFFAFB
surface
#FEF4F7
border
#D6CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #E786A6

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

Preview Lab → · Contrast checker → · Palette generator →

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