#C786BB#C786BB

#C786BB is a light, moderate pink. Relative luminance 0.328; OKLCH L 70.3% C 0.106 H 333.4°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#C786BB
RGBrgb(199, 134, 187)
HSLhsl(311, 37%, 65%)
HSVhsv(311, 33%, 78%)
CMYKcmyk(0%, 32.7%, 6%, 22%)
CIE-LABlab(63.98, 33.18, -17.59)
CIE-LCHlch(63.98, 37.55, 332.07°)
OKLaboklab(70.26% 0.0945 -0.0472)
OKLCHoklch(70.26% 0.106 333.4)
XYZxyz(41.0475, 32.7819, 51.1695)
Luminance0.3278 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C786BB #86C792
analogous
#B286C7 #C786BB #C7869A
triadic
#C786BB #BBC786 #86BBC7
tetradic
#C786BB #C7B286 #86C792 #869AC7
square
#C786BB #C7B286 #86C792 #869AC7
split-complementary
#C786BB #9AC786 #86C7B2
monochromatic
#904382 #B45CA3 #C786BB #DAB0D3 #EEDAEA

Accessibility & contrast

On white

2.78
#C786BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#C786BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C786BB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C786BB#FFFFFF#000000##000000
##C786BB1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8595BD
Deuteranopia (green-blind)
#959EB9
Tritanopia (blue-blind)
#CD8999
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c786bb;
/* rgb */ color: rgb(199, 134, 187);
/* oklch */ color: oklch(70.3% 0.106 333.4);
Tailwind
colors: {
  custom: {
    50: '#d9aacf',
    500: '#c786bb',
    950: '#000000',
  },
}
SCSS
$custom: #c786bb;
$custom-light: #d9aacf;
$custom-dark: #000000;
JSON
{
  "hex": "#c786bb",
  "rgb": {
    "r": 199,
    "g": 134,
    "b": 187
  },
  "hsl": {
    "h": 311.077,
    "s": 36.723,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70263,
    "c": 0.10566,
    "h": 333.4
  },
  "luminance": 0.3278
}

Semantic roles & 50–950 ramp

primary
#C786BB
secondary
#C9DFCD
accent
#B04C36
background
#FDFAFC
surface
#FAF4F9
border
#D3CED2
text
#151013
muted
#837F82

Preview Lab

Preview with #C786BB

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

Preview Lab → · Contrast checker → · Palette generator →

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