#871F37#871F37

#871F37 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.8% C 0.139 H 12.6°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#871F37
RGBrgb(135, 31, 55)
HSLhsl(346, 63%, 33%)
HSVhsv(346, 77%, 53%)
CMYKcmyk(0%, 77%, 59.3%, 47.1%)
CIE-LABlab(30.42, 44.84, 12.13)
CIE-LCHlch(30.42, 46.45, 15.13°)
OKLaboklab(41.78% 0.1353 0.0302)
OKLCHoklch(41.78% 0.139 12.6)
XYZxyz(11.1723, 6.4083, 4.2623)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F37 #1F876F
analogous
#871F6B #871F37 #873B1F
triadic
#871F37 #37871F #1F3787
tetradic
#871F37 #6B871F #1F876F #3B1F87
square
#871F37 #6B871F #1F876F #3B1F87
split-complementary
#871F37 #1F873B #1F6B87
monochromatic
#23080E #551423 #871F37 #B92A4B #D64B6B

Accessibility & contrast

On white

9.20
#871F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#871F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F37
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F37#FFFFFF#000000##FFFFFF
##871F371.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3A37
Deuteranopia (green-blind)
#564F34
Tritanopia (blue-blind)
#940029
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #871f37;
/* rgb */ color: rgb(135, 31, 55);
/* oklch */ color: oklch(41.8% 0.139 12.6);
Tailwind
colors: {
  custom: {
    50: '#b0646d',
    500: '#871f37',
    950: '#000000',
  },
}
SCSS
$custom: #871f37;
$custom-light: #b0646d;
$custom-dark: #000000;
JSON
{
  "hex": "#871f37",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 55
  },
  "hsl": {
    "h": 346.154,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41781,
    "c": 0.13865,
    "h": 12.6
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#871F37
secondary
#4AB89F
accent
#E6C042
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #871F37

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

Preview Lab → · Contrast checker → · Palette generator →

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