#871B75#871B75

#871B75 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.9% C 0.171 H 336.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#871B75
RGBrgb(135, 27, 117)
HSLhsl(310, 67%, 32%)
HSVhsv(310, 80%, 53%)
CMYKcmyk(0%, 80%, 13.3%, 47.1%)
CIE-LABlab(32.30, 53.28, -25.47)
CIE-LCHlch(32.30, 59.05, 334.45°)
OKLaboklab(43.92% 0.1564 -0.0695)
OKLCHoklch(43.92% 0.171 336)
XYZxyz(13.5947, 7.2204, 17.5039)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871B75 #1B872D
analogous
#631B87 #871B75 #871B3F
triadic
#871B75 #75871B #1B7587
tetradic
#871B75 #87631B #1B872D #1B3F87
square
#871B75 #87631B #1B872D #1B3F87
split-complementary
#871B75 #3F871B #1B8763
monochromatic
#21071D #541149 #871B75 #BA25A1 #D943C0

Accessibility & contrast

On white

8.59
#871B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#871B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871B75
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871B75#FFFFFF#000000##FFFFFF
##871B751.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4277
Deuteranopia (green-blind)
#445273
Tritanopia (blue-blind)
#8E2447
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #871b75;
/* rgb */ color: rgb(135, 27, 117);
/* oklch */ color: oklch(43.9% 0.171 336.0);
Tailwind
colors: {
  custom: {
    50: '#ae659d',
    500: '#871b75',
    950: '#000000',
  },
}
SCSS
$custom: #871b75;
$custom-light: #ae659d;
$custom-dark: #000000;
JSON
{
  "hex": "#871b75",
  "rgb": {
    "r": 135,
    "g": 27,
    "b": 117
  },
  "hsl": {
    "h": 310,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43917,
    "c": 0.17117,
    "h": 336
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#871B75
secondary
#44BA57
accent
#EA5B3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871B75

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

Preview Lab → · Contrast checker → · Palette generator →

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