#D786C2#D786C2

#D786C2 is a light, vivid pink. Relative luminance 0.354; OKLCH L 72.3% C 0.125 H 337.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#D786C2
RGBrgb(215, 134, 194)
HSLhsl(316, 50%, 68%)
HSVhsv(316, 38%, 84%)
CMYKcmyk(0%, 37.7%, 9.8%, 15.7%)
CIE-LABlab(66.05, 39.69, -18.21)
CIE-LCHlch(66.05, 43.67, 335.35°)
OKLaboklab(72.32% 0.1148 -0.0488)
OKLCHoklch(72.32% 0.125 337)
XYZxyz(46.2869, 35.3948, 55.4223)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786C2 #86D79B
analogous
#C486D7 #D786C2 #D78699
triadic
#D786C2 #C2D786 #86C2D7
tetradic
#D786C2 #D7C486 #86D79B #8699D7
square
#D786C2 #D7C486 #86D79B #8699D7
split-complementary
#D786C2 #99D786 #86D7C4
monochromatic
#AA388D #C858AB #D786C2 #E6B4D9 #F5E2F0

Accessibility & contrast

On white

2.60
#D786C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#D786C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786C2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786C2#FFFFFF#000000##000000
##D786C21.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8799C4
Deuteranopia (green-blind)
#9CA5C0
Tritanopia (blue-blind)
#DF899C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d786c2;
/* rgb */ color: rgb(215, 134, 194);
/* oklch */ color: oklch(72.3% 0.125 337.0);
Tailwind
colors: {
  custom: {
    50: '#e4abd4',
    500: '#d786c2',
    950: '#000000',
  },
}
SCSS
$custom: #d786c2;
$custom-light: #e4abd4;
$custom-dark: #000000;
JSON
{
  "hex": "#d786c2",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 194
  },
  "hsl": {
    "h": 315.556,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72315,
    "c": 0.12474,
    "h": 337
  },
  "luminance": 0.35392
}

Semantic roles & 50–950 ramp

primary
#D786C2
secondary
#D0E9D7
accent
#BE4F28
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #D786C2

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

Preview Lab → · Contrast checker → · Palette generator →

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