#C871A2#C871A2

#C871A2 is a light, vivid pink. Relative luminance 0.267; OKLCH L 66.0% C 0.124 H 346.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#C871A2
RGBrgb(200, 113, 162)
HSLhsl(326, 44%, 61%)
HSVhsv(326, 44%, 78%)
CMYKcmyk(0%, 43.5%, 19%, 21.6%)
CIE-LABlab(58.70, 40.62, -11.30)
CIE-LCHlch(58.70, 42.16, 344.45°)
OKLaboklab(66.01% 0.1208 -0.0297)
OKLCHoklch(66.01% 0.124 346.2)
XYZxyz(36.2467, 26.7008, 37.4201)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871A2 #71C897
analogous
#C371C8 #C871A2 #C87177
triadic
#C871A2 #A2C871 #71A2C8
tetradic
#C871A2 #C8C371 #71C897 #7177C8
square
#C871A2 #C8C371 #71C897 #7177C8
split-complementary
#C871A2 #77C871 #71C8C3
monochromatic
#893565 #B64685 #C871A2 #D99DBF #EAC9DC

Accessibility & contrast

On white

3.31
#C871A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#C871A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871A2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871A2#FFFFFF#000000##000000
##C871A21.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A4
Deuteranopia (green-blind)
#8E93A0
Tritanopia (blue-blind)
#D27083
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c871a2;
/* rgb */ color: rgb(200, 113, 162);
/* oklch */ color: oklch(66.0% 0.124 346.2);
Tailwind
colors: {
  custom: {
    50: '#da9cbd',
    500: '#c871a2',
    950: '#000000',
  },
}
SCSS
$custom: #c871a2;
$custom-light: #da9cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c871a2",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 326.207,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66005,
    "c": 0.12444,
    "h": 346.2
  },
  "luminance": 0.26698
}

Semantic roles & 50–950 ramp

primary
#C871A2
secondary
#BADBC8
accent
#B76A2E
background
#FDF9FB
surface
#FBF2F6
border
#D4CCD0
text
#150E12
muted
#837E81

Preview Lab

Preview with #C871A2

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

Preview Lab → · Contrast checker → · Palette generator →

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