#C871B2#C871B2

#C871B2 is a light, vivid pink. Relative luminance 0.273; OKLCH L 66.6% C 0.136 H 337.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#C871B2
RGBrgb(200, 113, 178)
HSLhsl(315, 44%, 61%)
HSVhsv(315, 44%, 78%)
CMYKcmyk(0%, 43.5%, 11%, 21.6%)
CIE-LABlab(59.26, 43.18, -19.65)
CIE-LCHlch(59.26, 47.45, 335.53°)
OKLaboklab(66.61% 0.1254 -0.0528)
OKLCHoklch(66.61% 0.136 337.2)
XYZxyz(37.7605, 27.3063, 45.3926)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C871B2 #71C887
analogous
#B371C8 #C871B2 #C87187
triadic
#C871B2 #B2C871 #71B2C8
tetradic
#C871B2 #C8B371 #71C887 #7187C8
square
#C871B2 #C8B371 #71C887 #7187C8
split-complementary
#C871B2 #87C871 #71C8B3
monochromatic
#893574 #B64699 #C871B2 #D99DCA #EAC9E2

Accessibility & contrast

On white

3.25
#C871B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#C871B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C871B2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C871B2#FFFFFF#000000##000000
##C871B21.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7386B4
Deuteranopia (green-blind)
#8A93B0
Tritanopia (blue-blind)
#D0748A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c871b2;
/* rgb */ color: rgb(200, 113, 178);
/* oklch */ color: oklch(66.6% 0.136 337.2);
Tailwind
colors: {
  custom: {
    50: '#da9cc9',
    500: '#c871b2',
    950: '#000000',
  },
}
SCSS
$custom: #c871b2;
$custom-light: #da9cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c871b2",
  "rgb": {
    "r": 200,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 315.172,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66611,
    "c": 0.13608,
    "h": 337.2
  },
  "luminance": 0.27304
}

Semantic roles & 50–950 ramp

primary
#C871B2
secondary
#BADBC2
accent
#B7512E
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150E13
muted
#837E82

Preview Lab

Preview with #C871B2

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

Preview Lab → · Contrast checker → · Palette generator →

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