#C787BB#C787BB

#C787BB is a light, moderate pink. Relative luminance 0.331; OKLCH L 70.4% C 0.104 H 333.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#C787BB
RGBrgb(199, 135, 187)
HSLhsl(311, 36%, 65%)
HSVhsv(311, 32%, 78%)
CMYKcmyk(0%, 32.2%, 6%, 22%)
CIE-LABlab(64.21, 32.63, -17.25)
CIE-LCHlch(64.21, 36.91, 332.14°)
OKLaboklab(70.43% 0.093 -0.0463)
OKLCHoklch(70.43% 0.104 333.5)
XYZxyz(41.1863, 33.0597, 51.2158)
Luminance0.3306 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C787BB #87C793
analogous
#B387C7 #C787BB #C7879B
triadic
#C787BB #BBC787 #87BBC7
tetradic
#C787BB #C7B387 #87C793 #879BC7
square
#C787BB #C7B387 #87C793 #879BC7
split-complementary
#C787BB #9BC787 #87C7B3
monochromatic
#904382 #B45DA3 #C787BB #DAB1D3 #EEDAEA

Accessibility & contrast

On white

2.76
#C787BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#C787BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C787BB
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C787BB#FFFFFF#000000##000000
##C787BB1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8696BD
Deuteranopia (green-blind)
#969FB9
Tritanopia (blue-blind)
#CD8A9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c787bb;
/* rgb */ color: rgb(199, 135, 187);
/* oklch */ color: oklch(70.4% 0.104 333.5);
Tailwind
colors: {
  custom: {
    50: '#d9abcf',
    500: '#c787bb',
    950: '#000000',
  },
}
SCSS
$custom: #c787bb;
$custom-light: #d9abcf;
$custom-dark: #000000;
JSON
{
  "hex": "#c787bb",
  "rgb": {
    "r": 199,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 311.25,
    "s": 36.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70434,
    "c": 0.10386,
    "h": 333.5
  },
  "luminance": 0.33058
}

Semantic roles & 50–950 ramp

primary
#C787BB
secondary
#CAE0CE
accent
#AF4D36
background
#FDFAFC
surface
#FAF4F9
border
#D3CED2
text
#151013
muted
#837F82

Preview Lab

Preview with #C787BB

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

Preview Lab → · Contrast checker → · Palette generator →

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