#C787AA#C787AA

#C787AA is a light, moderate pink. Relative luminance 0.324; OKLCH L 69.8% C 0.090 H 345.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#C787AA
RGBrgb(199, 135, 170)
HSLhsl(327, 36%, 65%)
HSVhsv(327, 32%, 78%)
CMYKcmyk(0%, 32.2%, 14.6%, 22%)
CIE-LABlab(63.65, 29.72, -8.48)
CIE-LCHlch(63.65, 30.90, 344.07°)
OKLaboklab(69.82% 0.0876 -0.0222)
OKLCHoklch(69.82% 0.09 345.7)
XYZxyz(39.4730, 32.3743, 42.1921)
Luminance0.3237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C787AA #87C7A4
analogous
#C487C7 #C787AA #C7878A
triadic
#C787AA #AAC787 #87AAC7
tetradic
#C787AA #C7C487 #87C7A4 #878AC7
square
#C787AA #C7C487 #87C7A4 #878AC7
split-complementary
#C787AA #8AC787 #87C7C4
monochromatic
#90436D #B45D8C #C787AA #DAB1C8 #EEDAE5

Accessibility & contrast

On white

2.81
#C787AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#C787AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C787AA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C787AA#FFFFFF#000000##000000
##C787AA1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B94AB
Deuteranopia (green-blind)
#9B9EA8
Tritanopia (blue-blind)
#CF8693
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c787aa;
/* rgb */ color: rgb(199, 135, 170);
/* oklch */ color: oklch(69.8% 0.090 345.7);
Tailwind
colors: {
  custom: {
    50: '#d9aac3',
    500: '#c787aa',
    950: '#000000',
  },
}
SCSS
$custom: #c787aa;
$custom-light: #d9aac3;
$custom-dark: #000000;
JSON
{
  "hex": "#c787aa",
  "rgb": {
    "r": 199,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 327.188,
    "s": 36.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69824,
    "c": 0.09033,
    "h": 345.7
  },
  "luminance": 0.32372
}

Semantic roles & 50–950 ramp

primary
#C787AA
secondary
#CAE0D4
accent
#AF6D36
background
#FDFAFB
surface
#FAF4F7
border
#D3CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #C787AA

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

Preview Lab → · Contrast checker → · Palette generator →

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