#E786D2#E786D2

#E786D2 is a light, vivid pink. Relative luminance 0.387; OKLCH L 74.8% C 0.151 H 335.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#E786D2
RGBrgb(231, 134, 210)
HSLhsl(313, 67%, 72%)
HSVhsv(313, 42%, 91%)
CMYKcmyk(0%, 42%, 9.1%, 9.4%)
CIE-LABlab(68.53, 47.48, -23.20)
CIE-LCHlch(68.53, 52.85, 333.96°)
OKLaboklab(74.78% 0.137 -0.0625)
OKLCHoklch(74.78% 0.151 335.5)
XYZxyz(53.1129, 38.6953, 65.6317)
Luminance0.3869 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E786D2 #86E79B
analogous
#CC86E7 #E786D2 #E786A2
triadic
#E786D2 #D2E786 #86D2E7
tetradic
#E786D2 #E7CC86 #86E79B #86A2E7
square
#E786D2 #E7CC86 #86E79B #86A2E7
split-complementary
#E786D2 #A2E786 #86E7CC
monochromatic
#CA28A7 #DD53BF #E786D2 #F1B9E5 #FAE5F6

Accessibility & contrast

On white

2.40
#E786D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#E786D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E786D2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E786D2#FFFFFF#000000##000000
##E786D21.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#879ED5
Deuteranopia (green-blind)
#A0ACCF
Tritanopia (blue-blind)
#F08AA3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e786d2;
/* rgb */ color: rgb(231, 134, 210);
/* oklch */ color: oklch(74.8% 0.151 335.5);
Tailwind
colors: {
  custom: {
    50: '#f0abe0',
    500: '#e786d2',
    950: '#000000',
  },
}
SCSS
$custom: #e786d2;
$custom-light: #f0abe0;
$custom-dark: #000000;
JSON
{
  "hex": "#e786d2",
  "rgb": {
    "r": 231,
    "g": 134,
    "b": 210
  },
  "hsl": {
    "h": 312.99,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74779,
    "c": 0.15056,
    "h": 335.5
  },
  "luminance": 0.38692
}

Semantic roles & 50–950 ramp

primary
#E786D2
secondary
#D8F1DD
accent
#CF3F17
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #E786D2

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

Preview Lab → · Contrast checker → · Palette generator →

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