#C87F9D#C87F9D

#C87F9D is a light, moderate pink. Relative luminance 0.299; OKLCH L 68.1% C 0.098 H 353.8°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#C87F9D
RGBrgb(200, 127, 157)
HSLhsl(335, 40%, 64%)
HSVhsv(335, 37%, 78%)
CMYKcmyk(0%, 36.5%, 21.5%, 21.6%)
CIE-LABlab(61.56, 32.38, -4.16)
CIE-LCHlch(61.56, 32.65, 352.67°)
OKLaboklab(68.13% 0.097 -0.0106)
OKLCHoklch(68.13% 0.098 353.8)
XYZxyz(37.4952, 29.8948, 35.6871)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87F9D #7FC8AA
analogous
#C87FC2 #C87F9D #C8867F
triadic
#C87F9D #9DC87F #7F9DC8
tetradic
#C87F9D #C2C87F #7FC8AA #867FC8
square
#C87F9D #C2C87F #7FC8AA #867FC8
split-complementary
#C87F9D #7FC886 #7FC2C8
monochromatic
#8F3D5F #B6547C #C87F9D #DAAABE #EDD5DF

Accessibility & contrast

On white

3.01
#C87F9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#C87F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C87F9D
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87F9D#FFFFFF#000000##000000
##C87F9D1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#878D9E
Deuteranopia (green-blind)
#99999B
Tritanopia (blue-blind)
#D37C89
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c87f9d;
/* rgb */ color: rgb(200, 127, 157);
/* oklch */ color: oklch(68.1% 0.098 353.8);
Tailwind
colors: {
  custom: {
    50: '#daa5b9',
    500: '#c87f9d',
    950: '#000000',
  },
}
SCSS
$custom: #c87f9d;
$custom-light: #daa5b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c87f9d",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 157
  },
  "hsl": {
    "h": 335.342,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68127,
    "c": 0.09758,
    "h": 353.8
  },
  "luminance": 0.29892
}

Semantic roles & 50–950 ramp

primary
#C87F9D
secondary
#C5DED4
accent
#B37E33
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F11
muted
#837F80

Preview Lab

Preview with #C87F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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