#C871AC#C871AC

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

Color values

HEX#C871AC
RGBrgb(200, 113, 172)
HSLhsl(319, 44%, 61%)
HSVhsv(319, 44%, 78%)
CMYKcmyk(0%, 43.5%, 14%, 21.6%)
CIE-LABlab(59.04, 42.20, -16.54)
CIE-LCHlch(59.04, 45.33, 338.59°)
OKLaboklab(66.38% 0.1238 -0.0441)
OKLCHoklch(66.38% 0.131 340.4)
XYZxyz(37.1712, 27.0706, 42.2890)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871AC #71C88D
analogous
#B971C8 #C871AC #C87181
triadic
#C871AC #ACC871 #71ACC8
tetradic
#C871AC #C8B971 #71C88D #7181C8
square
#C871AC #C8B971 #71C88D #7181C8
split-complementary
#C871AC #81C871 #71C8B9
monochromatic
#89356E #B64692 #C871AC #D99DC6 #EAC9E0

Accessibility & contrast

On white

3.27
#C871AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C871AC#FFFFFF#000000##000000
##C871AC1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7586AE
Deuteranopia (green-blind)
#8C93AA
Tritanopia (blue-blind)
#D17287
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c871ac;
/* rgb */ color: rgb(200, 113, 172);
/* oklch */ color: oklch(66.4% 0.131 340.4);
Tailwind
colors: {
  custom: {
    50: '#da9cc4',
    500: '#c871ac',
    950: '#000000',
  },
}
SCSS
$custom: #c871ac;
$custom-light: #da9cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c871ac",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 319.31,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66376,
    "c": 0.13142,
    "h": 340.4
  },
  "luminance": 0.27068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C871AC

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

Preview Lab → · Contrast checker → · Palette generator →

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