#E786C5#E786C5

#E786C5 is a light, vivid pink. Relative luminance 0.381; OKLCH L 74.3% C 0.141 H 341.7°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#E786C5
RGBrgb(231, 134, 197)
HSLhsl(321, 67%, 72%)
HSVhsv(321, 42%, 91%)
CMYKcmyk(0%, 42%, 14.7%, 9.4%)
CIE-LABlab(68.07, 45.39, -16.65)
CIE-LCHlch(68.07, 48.34, 339.85°)
OKLaboklab(74.29% 0.1335 -0.0443)
OKLCHoklch(74.29% 0.141 341.7)
XYZxyz(51.5586, 38.0736, 57.4458)
Luminance0.3807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786C5 #86E7A8
analogous
#D986E7 #E786C5 #E78695
triadic
#E786C5 #C5E786 #86C5E7
tetradic
#E786C5 #E7D986 #86E7A8 #8695E7
square
#E786C5 #E7D986 #86E7A8 #8695E7
split-complementary
#E786C5 #95E786 #86E7D9
monochromatic
#CA2892 #DD53AD #E786C5 #F1B9DD #FAE5F3

Accessibility & contrast

On white

2.44
#E786C5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#E786C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786C5
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786C5#FFFFFF#000000##000000
##E786C51.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9CC7
Deuteranopia (green-blind)
#A4ACC2
Tritanopia (blue-blind)
#F2879D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e786c5;
/* rgb */ color: rgb(231, 134, 197);
/* oklch */ color: oklch(74.3% 0.141 341.7);
Tailwind
colors: {
  custom: {
    50: '#f0abd6',
    500: '#e786c5',
    950: '#000000',
  },
}
SCSS
$custom: #e786c5;
$custom-light: #f0abd6;
$custom-dark: #000000;
JSON
{
  "hex": "#e786c5",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 197
  },
  "hsl": {
    "h": 321.031,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74286,
    "c": 0.14065,
    "h": 341.7
  },
  "luminance": 0.3807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E786C5

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

Preview Lab → · Contrast checker → · Palette generator →

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