#871F40#871F40

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

Color values

HEX#871F40
RGBrgb(135, 31, 64)
HSLhsl(341, 63%, 33%)
HSVhsv(341, 77%, 53%)
CMYKcmyk(0%, 77%, 52.6%, 47.1%)
CIE-LABlab(30.65, 45.58, 6.48)
CIE-LCHlch(30.65, 46.03, 8.09°)
OKLaboklab(42.02% 0.139 0.0168)
OKLCHoklch(42.02% 0.14 6.9)
XYZxyz(11.4081, 6.5026, 5.5039)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F40 #1F8766
analogous
#871F74 #871F40 #87321F
triadic
#871F40 #40871F #1F4087
tetradic
#871F40 #74871F #1F8766 #321F87
square
#871F40 #74871F #1F8766 #321F87
split-complementary
#871F40 #1F8732 #1F7487
monochromatic
#230811 #551428 #871F40 #B92A58 #D64B77

Accessibility & contrast

On white

9.13
#871F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #871F40
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F40#FFFFFF#000000##FFFFFF
##871F401.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #871f40;
/* rgb */ color: rgb(135, 31, 64);
/* oklch */ color: oklch(42.0% 0.140 6.9);
Tailwind
colors: {
  custom: {
    50: '#af6574',
    500: '#871f40',
    950: '#000000',
  },
}
SCSS
$custom: #871f40;
$custom-light: #af6574;
$custom-dark: #000000;
JSON
{
  "hex": "#871f40",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 340.962,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42022,
    "c": 0.14001,
    "h": 6.9
  },
  "luminance": 0.06501
}

Semantic roles & 50–950 ramp

primary
#871F40
secondary
#4AB895
accent
#E6B242
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871F40

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

Preview Lab → · Contrast checker → · Palette generator →

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