#C87FA2#C87FA2

#C87FA2 is a light, moderate pink. Relative luminance 0.301; OKLCH L 68.3% C 0.100 H 349.9°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#C87FA2
RGBrgb(200, 127, 162)
HSLhsl(331, 40%, 64%)
HSVhsv(331, 37%, 78%)
CMYKcmyk(0%, 36.5%, 19%, 21.6%)
CIE-LABlab(61.71, 33.15, -6.80)
CIE-LCHlch(61.71, 33.84, 348.41°)
OKLaboklab(68.29% 0.0987 -0.0176)
OKLCHoklch(68.29% 0.1 349.9)
XYZxyz(37.9309, 30.0690, 37.9814)
Luminance0.3007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FA2 #7FC8A5
analogous
#C87FC7 #C87FA2 #C8817F
triadic
#C87FA2 #A2C87F #7FA2C8
tetradic
#C87FA2 #C7C87F #7FC8A5 #817FC8
square
#C87FA2 #C7C87F #7FC8A5 #817FC8
split-complementary
#C87FA2 #7FC881 #7FC7C8
monochromatic
#8F3D65 #B65483 #C87FA2 #DAAAC1 #EDD5E0

Accessibility & contrast

On white

2.99
#C87FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#C87FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FA2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FA2#FFFFFF#000000##000000
##C87FA21.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#868EA3
Deuteranopia (green-blind)
#989AA0
Tritanopia (blue-blind)
#D27D8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c87fa2;
/* rgb */ color: rgb(200, 127, 162);
/* oklch */ color: oklch(68.3% 0.100 349.9);
Tailwind
colors: {
  custom: {
    50: '#daa5bd',
    500: '#c87fa2',
    950: '#000000',
  },
}
SCSS
$custom: #c87fa2;
$custom-light: #daa5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fa2",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 331.233,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68291,
    "c": 0.10028,
    "h": 349.9
  },
  "luminance": 0.30067
}

Semantic roles & 50–950 ramp

primary
#C87FA2
secondary
#C5DED2
accent
#B37533
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #C87FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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