#C787AE#C787AE

#C787AE is a light, moderate pink. Relative luminance 0.325; OKLCH L 70.0% C 0.093 H 342.6°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#C787AE
RGBrgb(199, 135, 174)
HSLhsl(323, 36%, 65%)
HSVhsv(323, 32%, 78%)
CMYKcmyk(0%, 32.2%, 12.6%, 22%)
CIE-LABlab(63.78, 30.38, -10.56)
CIE-LCHlch(63.78, 32.16, 340.84°)
OKLaboklab(69.96% 0.0889 -0.0279)
OKLCHoklch(69.96% 0.093 342.6)
XYZxyz(39.8571, 32.5280, 44.2153)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C787AE #87C7A0
analogous
#C087C7 #C787AE #C7878E
triadic
#C787AE #AEC787 #87AEC7
tetradic
#C787AE #C7C087 #87C7A0 #878EC7
square
#C787AE #C7C087 #87C7A0 #878EC7
split-complementary
#C787AE #8EC787 #87C7C0
monochromatic
#904372 #B45D92 #C787AE #DAB1CA #EEDAE6

Accessibility & contrast

On white

2.80
#C787AE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#C787AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C787AE
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C787AE#FFFFFF#000000##000000
##C787AE1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A94AF
Deuteranopia (green-blind)
#9A9EAC
Tritanopia (blue-blind)
#CF8795
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c787ae;
/* rgb */ color: rgb(199, 135, 174);
/* oklch */ color: oklch(70.0% 0.093 342.6);
Tailwind
colors: {
  custom: {
    50: '#d9aac6',
    500: '#c787ae',
    950: '#000000',
  },
}
SCSS
$custom: #c787ae;
$custom-light: #d9aac6;
$custom-dark: #000000;
JSON
{
  "hex": "#c787ae",
  "rgb": {
    "r": 199,
    "g": 135,
    "b": 174
  },
  "hsl": {
    "h": 323.438,
    "s": 36.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69962,
    "c": 0.09315,
    "h": 342.6
  },
  "luminance": 0.32526
}

Semantic roles & 50–950 ramp

primary
#C787AE
secondary
#CAE0D3
accent
#AF6636
background
#FDFAFC
surface
#FAF4F8
border
#D3CED1
text
#151013
muted
#837F82

Preview Lab

Preview with #C787AE

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

Preview Lab → · Contrast checker → · Palette generator →

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