#D786B2#D786B2

#D786B2 is a light, moderate pink. Relative luminance 0.347; OKLCH L 71.7% C 0.113 H 346.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#D786B2
RGBrgb(215, 134, 178)
HSLhsl(327, 50%, 68%)
HSVhsv(327, 38%, 84%)
CMYKcmyk(0%, 37.7%, 17.2%, 15.7%)
CIE-LABlab(65.53, 37.09, -10.01)
CIE-LCHlch(65.53, 38.42, 344.90°)
OKLaboklab(71.74% 0.11 -0.0263)
OKLCHoklch(71.74% 0.113 346.6)
XYZxyz(44.5858, 34.7143, 46.4630)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786B2 #86D7AB
analogous
#D386D7 #D786B2 #D78689
triadic
#D786B2 #B2D786 #86B2D7
tetradic
#D786B2 #D7D386 #86D7AB #8689D7
square
#D786B2 #D7D386 #86D7AB #8689D7
split-complementary
#D786B2 #89D786 #86D7D3
monochromatic
#AA3876 #C85895 #D786B2 #E6B4CF #F5E2ED

Accessibility & contrast

On white

2.64
#D786B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#D786B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786B2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786B2#FFFFFF#000000##000000
##D786B21.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C97B4
Deuteranopia (green-blind)
#A0A4B0
Tritanopia (blue-blind)
#E18596
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d786b2;
/* rgb */ color: rgb(215, 134, 178);
/* oklch */ color: oklch(71.7% 0.113 346.6);
Tailwind
colors: {
  custom: {
    50: '#e5aac9',
    500: '#d786b2',
    950: '#000000',
  },
}
SCSS
$custom: #d786b2;
$custom-light: #e5aac9;
$custom-dark: #000000;
JSON
{
  "hex": "#d786b2",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 178
  },
  "hsl": {
    "h": 327.407,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71739,
    "c": 0.11304,
    "h": 346.6
  },
  "luminance": 0.34712
}

Semantic roles & 50–950 ramp

primary
#D786B2
secondary
#D0E9DB
accent
#BE6C28
background
#FEFAFC
surface
#FCF4F8
border
#D5CED1
text
#161013
muted
#847F82

Preview Lab

Preview with #D786B2

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

Preview Lab → · Contrast checker → · Palette generator →

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