#C871AB#C871AB

#C871AB is a light, vivid pink. Relative luminance 0.270; OKLCH L 66.3% C 0.131 H 340.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#C871AB
RGBrgb(200, 113, 171)
HSLhsl(320, 44%, 61%)
HSVhsv(320, 44%, 78%)
CMYKcmyk(0%, 43.5%, 14.5%, 21.6%)
CIE-LABlab(59.00, 42.04, -16.02)
CIE-LCHlch(59.00, 44.99, 339.14°)
OKLaboklab(66.34% 0.1235 -0.0427)
OKLCHoklch(66.34% 0.131 340.9)
XYZxyz(37.0755, 27.0323, 41.7851)
Luminance0.2703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871AB #71C88E
analogous
#BA71C8 #C871AB #C87180
triadic
#C871AB #ABC871 #71ABC8
tetradic
#C871AB #C8BA71 #71C88E #7180C8
square
#C871AB #C8BA71 #71C88E #7180C8
split-complementary
#C871AB #80C871 #71C8BA
monochromatic
#89356D #B64690 #C871AB #D99DC5 #EAC9DF

Accessibility & contrast

On white

3.28
#C871AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#C871AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871AB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871AB#FFFFFF#000000##000000
##C871AB1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AD
Deuteranopia (green-blind)
#8C93A9
Tritanopia (blue-blind)
#D17287
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c871ab;
/* rgb */ color: rgb(200, 113, 171);
/* oklch */ color: oklch(66.3% 0.131 340.9);
Tailwind
colors: {
  custom: {
    50: '#da9cc4',
    500: '#c871ab',
    950: '#000000',
  },
}
SCSS
$custom: #c871ab;
$custom-light: #da9cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c871ab",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 320,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66338,
    "c": 0.13068,
    "h": 340.9
  },
  "luminance": 0.2703
}

Semantic roles & 50–950 ramp

primary
#C871AB
secondary
#BADBC5
accent
#B75C2E
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150E12
muted
#837E81

Preview Lab

Preview with #C871AB

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

Preview Lab → · Contrast checker → · Palette generator →

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