#D786A2#D786A2

#D786A2 is a light, moderate pink. Relative luminance 0.341; OKLCH L 71.2% C 0.105 H 357.8°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#D786A2
RGBrgb(215, 134, 162)
HSLhsl(339, 50%, 68%)
HSVhsv(339, 38%, 84%)
CMYKcmyk(0%, 37.7%, 24.7%, 15.7%)
CIE-LABlab(65.05, 34.70, -1.68)
CIE-LCHlch(65.05, 34.74, 357.24°)
OKLaboklab(71.22% 0.1045 -0.0039)
OKLCHoklch(71.22% 0.105 357.8)
XYZxyz(43.0720, 34.1088, 38.4905)
Luminance0.3411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786A2 #86D7BB
analogous
#D786CA #D786A2 #D79286
triadic
#D786A2 #A2D786 #86A2D7
tetradic
#D786A2 #CAD786 #86D7BB #9286D7
square
#D786A2 #CAD786 #86D7BB #9286D7
split-complementary
#D786A2 #86D792 #86CAD7
monochromatic
#AA3860 #C8587F #D786A2 #E6B4C5 #F5E2E9

Accessibility & contrast

On white

2.69
#D786A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#D786A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786A2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786A2#FFFFFF#000000##000000
##D786A21.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9095A3
Deuteranopia (green-blind)
#A4A3A0
Tritanopia (blue-blind)
#E38290
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d786a2;
/* rgb */ color: rgb(215, 134, 162);
/* oklch */ color: oklch(71.2% 0.105 357.8);
Tailwind
colors: {
  custom: {
    50: '#e5aabd',
    500: '#d786a2',
    950: '#000000',
  },
}
SCSS
$custom: #d786a2;
$custom-light: #e5aabd;
$custom-dark: #000000;
JSON
{
  "hex": "#d786a2",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 162
  },
  "hsl": {
    "h": 339.259,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71219,
    "c": 0.1046,
    "h": 357.8
  },
  "luminance": 0.34106
}

Semantic roles & 50–950 ramp

primary
#D786A2
secondary
#D0E9E0
accent
#BE8A28
background
#FEFAFB
surface
#FCF4F6
border
#D5CED0
text
#161012
muted
#847F81

Preview Lab

Preview with #D786A2

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

Preview Lab → · Contrast checker → · Palette generator →

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