#C87EA2#C87EA2

#C87EA2 is a light, moderate pink. Relative luminance 0.298; OKLCH L 68.1% C 0.102 H 349.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#C87EA2
RGBrgb(200, 126, 162)
HSLhsl(331, 40%, 64%)
HSVhsv(331, 37%, 78%)
CMYKcmyk(0%, 37%, 19%, 21.6%)
CIE-LABlab(61.49, 33.69, -7.13)
CIE-LCHlch(61.49, 34.43, 348.05°)
OKLaboklab(68.12% 0.1003 -0.0185)
OKLCHoklch(68.12% 0.102 349.5)
XYZxyz(37.8024, 29.8120, 37.9386)
Luminance0.2981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87EA2 #7EC8A4
analogous
#C87EC7 #C87EA2 #C87F7E
triadic
#C87EA2 #A2C87E #7EA2C8
tetradic
#C87EA2 #C7C87E #7EC8A4 #7F7EC8
square
#C87EA2 #C7C87E #7EC8A4 #7F7EC8
split-complementary
#C87EA2 #7EC87F #7EC7C8
monochromatic
#8F3D65 #B65383 #C87EA2 #DAA9C1 #EDD4E0

Accessibility & contrast

On white

3.02
#C87EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#C87EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C87EA2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87EA2#FFFFFF#000000##000000
##C87EA21.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#858DA3
Deuteranopia (green-blind)
#9799A0
Tritanopia (blue-blind)
#D27C8B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c87ea2;
/* rgb */ color: rgb(200, 126, 162);
/* oklch */ color: oklch(68.1% 0.102 349.5);
Tailwind
colors: {
  custom: {
    50: '#daa4bd',
    500: '#c87ea2',
    950: '#000000',
  },
}
SCSS
$custom: #c87ea2;
$custom-light: #daa4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c87ea2",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 330.811,
    "s": 40.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68122,
    "c": 0.10202,
    "h": 349.5
  },
  "luminance": 0.2981
}

Semantic roles & 50–950 ramp

primary
#C87EA2
secondary
#C4DED1
accent
#B37432
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #C87EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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