#C871BA#C871BA

#C871BA is a light, vivid purple. Relative luminance 0.276; OKLCH L 66.9% C 0.143 H 333.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#C871BA
RGBrgb(200, 113, 186)
HSLhsl(310, 44%, 61%)
HSVhsv(310, 44%, 78%)
CMYKcmyk(0%, 43.5%, 7%, 21.6%)
CIE-LABlab(59.56, 44.54, -23.76)
CIE-LCHlch(59.56, 50.49, 331.92°)
OKLaboklab(66.94% 0.1275 -0.0643)
OKLCHoklch(66.94% 0.143 333.2)
XYZxyz(38.5873, 27.6370, 49.7468)
Luminance0.2763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871BA #71C87F
analogous
#AB71C8 #C871BA #C8718F
triadic
#C871BA #BAC871 #71BAC8
tetradic
#C871BA #C8AB71 #71C87F #718FC8
square
#C871BA #C8AB71 #71C87F #718FC8
split-complementary
#C871BA #8FC871 #71C8AB
monochromatic
#89357C #B646A4 #C871BA #D99DCF #EAC9E5

Accessibility & contrast

On white

3.22
#C871BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#C871BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871BA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871BA#FFFFFF#000000##000000
##C871BA1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BD
Deuteranopia (green-blind)
#8794B7
Tritanopia (blue-blind)
#CF768D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c871ba;
/* rgb */ color: rgb(200, 113, 186);
/* oklch */ color: oklch(66.9% 0.143 333.2);
Tailwind
colors: {
  custom: {
    50: '#da9ccf',
    500: '#c871ba',
    950: '#000000',
  },
}
SCSS
$custom: #c871ba;
$custom-light: #da9ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#c871ba",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 309.655,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66938,
    "c": 0.14274,
    "h": 333.2
  },
  "luminance": 0.27635
}

Semantic roles & 50–950 ramp

primary
#C871BA
secondary
#BADBBF
accent
#B7442E
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E13
muted
#837E82

Preview Lab

Preview with #C871BA

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

Preview Lab → · Contrast checker → · Palette generator →

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