#C871BD#C871BD

#C871BD is a light, vivid purple. Relative luminance 0.278; OKLCH L 67.1% C 0.145 H 331.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#C871BD
RGBrgb(200, 113, 189)
HSLhsl(308, 44%, 61%)
HSVhsv(308, 44%, 78%)
CMYKcmyk(0%, 43.5%, 5.5%, 21.6%)
CIE-LABlab(59.68, 45.07, -25.29)
CIE-LCHlch(59.68, 51.68, 330.69°)
OKLaboklab(67.06% 0.1281 -0.0686)
OKLCHoklch(67.06% 0.145 331.8)
XYZxyz(38.9095, 27.7659, 51.4441)
Luminance0.2776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871BD #71C87C
analogous
#A871C8 #C871BD #C87192
triadic
#C871BD #BDC871 #71BDC8
tetradic
#C871BD #C8A871 #71C87C #7192C8
square
#C871BD #C8A871 #71C87C #7192C8
split-complementary
#C871BD #92C871 #71C8A8
monochromatic
#89357F #B646A7 #C871BD #D99DD2 #EAC9E6

Accessibility & contrast

On white

3.20
#C871BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#C871BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871BD
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871BD#FFFFFF#000000##000000
##C871BD1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88C0
Deuteranopia (green-blind)
#8694BA
Tritanopia (blue-blind)
#CF778E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c871bd;
/* rgb */ color: rgb(200, 113, 189);
/* oklch */ color: oklch(67.1% 0.145 331.8);
Tailwind
colors: {
  custom: {
    50: '#da9cd1',
    500: '#c871bd',
    950: '#000000',
  },
}
SCSS
$custom: #c871bd;
$custom-light: #da9cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#c871bd",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 307.586,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67064,
    "c": 0.14535,
    "h": 331.8
  },
  "luminance": 0.27764
}

Semantic roles & 50–950 ramp

primary
#C871BD
secondary
#BADBBE
accent
#B7402E
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E14
muted
#837E82

Preview Lab

Preview with #C871BD

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

Preview Lab → · Contrast checker → · Palette generator →

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