#871F2E#871F2E

#871F2E is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.138 H 18.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#871F2E
RGBrgb(135, 31, 46)
HSLhsl(351, 63%, 33%)
HSVhsv(351, 77%, 53%)
CMYKcmyk(0%, 77%, 65.9%, 47.1%)
CIE-LABlab(30.23, 44.22, 17.81)
CIE-LCHlch(30.23, 47.67, 21.93°)
OKLaboklab(41.58% 0.1316 0.0427)
OKLCHoklch(41.58% 0.138 18)
XYZxyz(10.9760, 6.3298, 3.2281)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871F2E #1F8778
analogous
#871F62 #871F2E #87441F
triadic
#871F2E #2E871F #1F2E87
tetradic
#871F2E #62871F #1F8778 #441F87
square
#871F2E #62871F #1F8778 #441F87
split-complementary
#871F2E #1F8744 #1F6287
monochromatic
#23080C #55141D #871F2E #B92A3F #D64B5F

Accessibility & contrast

On white

9.27
#871F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#871F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871F2E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871F2E#FFFFFF#000000##FFFFFF
##871F2E1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392E
Deuteranopia (green-blind)
#574F2B
Tritanopia (blue-blind)
#940025
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871f2e;
/* rgb */ color: rgb(135, 31, 46);
/* oklch */ color: oklch(41.6% 0.138 18.0);
Tailwind
colors: {
  custom: {
    50: '#b16466',
    500: '#871f2e',
    950: '#000000',
  },
}
SCSS
$custom: #871f2e;
$custom-light: #b16466;
$custom-dark: #000000;
JSON
{
  "hex": "#871f2e",
  "rgb": {
    "r": 135,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 351.346,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41578,
    "c": 0.13832,
    "h": 18
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#871F2E
secondary
#4AB8A8
accent
#E6CE42
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #871F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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