#871B67#871B67

#871B67 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.2% C 0.162 H 343.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#871B67
RGBrgb(135, 27, 103)
HSLhsl(318, 67%, 32%)
HSVhsv(318, 80%, 53%)
CMYKcmyk(0%, 80%, 23.7%, 47.1%)
CIE-LABlab(31.61, 51.27, -17.61)
CIE-LCHlch(31.61, 54.21, 341.05°)
OKLaboklab(43.2% 0.1547 -0.0472)
OKLCHoklch(43.2% 0.162 343)
XYZxyz(12.8323, 6.9154, 13.4884)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B67 #1B873B
analogous
#711B87 #871B67 #871B31
triadic
#871B67 #67871B #1B6787
tetradic
#871B67 #87711B #1B873B #1B3187
square
#871B67 #87711B #1B873B #1B3187
split-complementary
#871B67 #31871B #1B8771
monochromatic
#210719 #541140 #871B67 #BA258E #D943AD

Accessibility & contrast

On white

8.81
#871B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#871B67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B67
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B67#FFFFFF#000000##FFFFFF
##871B671.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273F69
Deuteranopia (green-blind)
#495165
Tritanopia (blue-blind)
#901B3F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #871b67;
/* rgb */ color: rgb(135, 27, 103);
/* oklch */ color: oklch(43.2% 0.162 343.0);
Tailwind
colors: {
  custom: {
    50: '#ae6492',
    500: '#871b67',
    950: '#000000',
  },
}
SCSS
$custom: #871b67;
$custom-light: #ae6492;
$custom-dark: #000000;
JSON
{
  "hex": "#871b67",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 317.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43195,
    "c": 0.16172,
    "h": 343
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#871B67
secondary
#44BA67
accent
#EA713E
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #871B67

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

Preview Lab → · Contrast checker → · Palette generator →

#871B67 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva