#871F3F#871F3F

#871F3F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.140 H 7.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#871F3F
RGBrgb(135, 31, 63)
HSLhsl(342, 63%, 33%)
HSVhsv(342, 77%, 53%)
CMYKcmyk(0%, 77%, 53.3%, 47.1%)
CIE-LABlab(30.62, 45.49, 7.10)
CIE-LCHlch(30.62, 46.04, 8.87°)
OKLaboklab(41.99% 0.1386 0.0183)
OKLCHoklch(41.99% 0.14 7.5)
XYZxyz(11.3799, 6.4913, 5.3554)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F3F #1F8767
analogous
#871F73 #871F3F #87331F
triadic
#871F3F #3F871F #1F3F87
tetradic
#871F3F #73871F #1F8767 #331F87
square
#871F3F #73871F #1F8767 #331F87
split-complementary
#871F3F #1F8733 #1F7387
monochromatic
#230811 #551428 #871F3F #B92A56 #D64B76

Accessibility & contrast

On white

9.14
#871F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#871F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F3F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F3F#FFFFFF#000000##FFFFFF
##871F3F1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B40
Deuteranopia (green-blind)
#54503C
Tritanopia (blue-blind)
#94042D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871f3f;
/* rgb */ color: rgb(135, 31, 63);
/* oklch */ color: oklch(42.0% 0.140 7.5);
Tailwind
colors: {
  custom: {
    50: '#af6573',
    500: '#871f3f',
    950: '#000000',
  },
}
SCSS
$custom: #871f3f;
$custom-light: #af6573;
$custom-dark: #000000;
JSON
{
  "hex": "#871f3f",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 341.538,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41994,
    "c": 0.13981,
    "h": 7.5
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#871F3F
secondary
#4AB896
accent
#E6B342
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110608
muted
#807A7B

Preview Lab

Preview with #871F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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