#C87FBA#C87FBA

#C87FBA is a light, moderate pink. Relative luminance 0.310; OKLCH L 69.2% C 0.118 H 334.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#C87FBA
RGBrgb(200, 127, 186)
HSLhsl(312, 40%, 64%)
HSVhsv(312, 37%, 78%)
CMYKcmyk(0%, 36.5%, 7%, 21.6%)
CIE-LABlab(62.51, 37.13, -19.25)
CIE-LCHlch(62.51, 41.82, 332.59°)
OKLaboklab(69.16% 0.1062 -0.0518)
OKLCHoklch(69.16% 0.118 334)
XYZxyz(40.2714, 31.0052, 50.3082)
Luminance0.3100 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FBA #7FC88D
analogous
#B27FC8 #C87FBA #C87F96
triadic
#C87FBA #BAC87F #7FBAC8
tetradic
#C87FBA #C8B27F #7FC88D #7F96C8
square
#C87FBA #C8B27F #7FC88D #7F96C8
split-complementary
#C87FBA #96C87F #7FC8B2
monochromatic
#8F3D7F #B654A3 #C87FBA #DAAAD1 #EDD5E8

Accessibility & contrast

On white

2.92
#C87FBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#C87FBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FBA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FBA#FFFFFF#000000##000000
##C87FBA1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F91BC
Deuteranopia (green-blind)
#919BB8
Tritanopia (blue-blind)
#CF8295
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c87fba;
/* rgb */ color: rgb(200, 127, 186);
/* oklch */ color: oklch(69.2% 0.118 334.0);
Tailwind
colors: {
  custom: {
    50: '#daa5ce',
    500: '#c87fba',
    950: '#000000',
  },
}
SCSS
$custom: #c87fba;
$custom-light: #daa5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fba",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 186
  },
  "hsl": {
    "h": 311.507,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6916,
    "c": 0.11814,
    "h": 334
  },
  "luminance": 0.31003
}

Semantic roles & 50–950 ramp

primary
#C87FBA
secondary
#C5DECA
accent
#B34B33
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F13
muted
#837F82

Preview Lab

Preview with #C87FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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