#E786C2#E786C2

#E786C2 is a light, vivid pink. Relative luminance 0.379; OKLCH L 74.2% C 0.139 H 343.2°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#E786C2
RGBrgb(231, 134, 194)
HSLhsl(323, 67%, 72%)
HSVhsv(323, 42%, 91%)
CMYKcmyk(0%, 42%, 16%, 9.4%)
CIE-LABlab(67.97, 44.92, -15.13)
CIE-LCHlch(67.97, 47.40, 341.39°)
OKLaboklab(74.18% 0.1326 -0.0401)
OKLCHoklch(74.18% 0.139 343.2)
XYZxyz(51.2183, 37.9375, 55.6534)
Luminance0.3793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786C2 #86E7AB
analogous
#DC86E7 #E786C2 #E78692
triadic
#E786C2 #C2E786 #86C2E7
tetradic
#E786C2 #E7DC86 #86E7AB #8692E7
square
#E786C2 #E7DC86 #86E7AB #8692E7
split-complementary
#E786C2 #92E786 #86E7DC
monochromatic
#CA288D #DD53A8 #E786C2 #F1B9DC #FAE5F2

Accessibility & contrast

On white

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

On black

8.59
#E786C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786C2
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786C2#FFFFFF#000000##000000
##E786C21.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9CC4
Deuteranopia (green-blind)
#A5ABBF
Tritanopia (blue-blind)
#F2869C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e786c2;
/* rgb */ color: rgb(231, 134, 194);
/* oklch */ color: oklch(74.2% 0.139 343.2);
Tailwind
colors: {
  custom: {
    50: '#f0abd4',
    500: '#e786c2',
    950: '#000000',
  },
}
SCSS
$custom: #e786c2;
$custom-light: #f0abd4;
$custom-dark: #000000;
JSON
{
  "hex": "#e786c2",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 194
  },
  "hsl": {
    "h": 322.887,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74177,
    "c": 0.13855,
    "h": 343.2
  },
  "luminance": 0.37934
}

Semantic roles & 50–950 ramp

primary
#E786C2
secondary
#D8F1E1
accent
#CF5D17
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #E786C2

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

Preview Lab → · Contrast checker → · Palette generator →

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