#C87FAC#C87FAC

#C87FAC is a light, moderate pink. Relative luminance 0.304; OKLCH L 68.6% C 0.107 H 342.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#C87FAC
RGBrgb(200, 127, 172)
HSLhsl(323, 40%, 64%)
HSVhsv(323, 37%, 78%)
CMYKcmyk(0%, 36.5%, 14%, 21.6%)
CIE-LABlab(62.03, 34.75, -12.03)
CIE-LCHlch(62.03, 36.77, 340.91°)
OKLaboklab(68.64% 0.102 -0.0318)
OKLCHoklch(68.64% 0.107 342.7)
XYZxyz(38.8554, 30.4388, 42.8504)
Luminance0.3044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FAC #7FC89B
analogous
#C07FC8 #C87FAC #C87F88
triadic
#C87FAC #ACC87F #7FACC8
tetradic
#C87FAC #C8C07F #7FC89B #7F88C8
square
#C87FAC #C8C07F #7FC89B #7F88C8
split-complementary
#C87FAC #88C87F #7FC8C0
monochromatic
#8F3D70 #B65490 #C87FAC #DAAAC8 #EDD5E4

Accessibility & contrast

On white

2.96
#C87FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#C87FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FAC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FAC#FFFFFF#000000##000000
##C87FAC1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#838FAE
Deuteranopia (green-blind)
#959AAA
Tritanopia (blue-blind)
#D17F8F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c87fac;
/* rgb */ color: rgb(200, 127, 172);
/* oklch */ color: oklch(68.6% 0.107 342.7);
Tailwind
colors: {
  custom: {
    50: '#daa5c4',
    500: '#c87fac',
    950: '#000000',
  },
}
SCSS
$custom: #c87fac;
$custom-light: #daa5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fac",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 323.014,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68637,
    "c": 0.10686,
    "h": 342.7
  },
  "luminance": 0.30437
}

Semantic roles & 50–950 ramp

primary
#C87FAC
secondary
#C5DECE
accent
#B36433
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F12
muted
#837F81

Preview Lab

Preview with #C87FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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