#87341F#87341F

#87341F is a dark, moderate red. Relative luminance 0.077; OKLCH L 43.9% C 0.119 H 35.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#87341F
RGBrgb(135, 52, 31)
HSLhsl(12, 63%, 33%)
HSVhsv(12, 77%, 53%)
CMYKcmyk(0%, 61.5%, 77%, 47.1%)
CIE-LABlab(33.37, 34.29, 30.81)
CIE-LCHlch(33.37, 46.09, 41.94°)
OKLaboklab(43.86% 0.0971 0.0687)
OKLCHoklch(43.86% 0.119 35.3)
XYZxyz(11.4682, 7.7074, 2.1798)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87341F #1F7287
analogous
#871F3E #87341F #87681F
triadic
#87341F #1F8734 #341F87
tetradic
#87341F #3E871F #1F7287 #681F87
square
#87341F #3E871F #1F7287 #681F87
split-complementary
#87341F #1F8768 #1F3E87
monochromatic
#230E08 #552114 #87341F #B9472A #D6674B

Accessibility & contrast

On white

8.26
#87341F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#87341F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87341F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87341F#FFFFFF#000000##FFFFFF
##87341F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431C
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#952130
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87341f;
/* rgb */ color: rgb(135, 52, 31);
/* oklch */ color: oklch(43.9% 0.119 35.3);
Tailwind
colors: {
  custom: {
    50: '#b16f5c',
    500: '#87341f',
    950: '#000000',
  },
}
SCSS
$custom: #87341f;
$custom-light: #b16f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#87341f",
  "rgb": {
    "r": 135,
    "g": 52,
    "b": 31
  },
  "hsl": {
    "h": 12.115,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43856,
    "c": 0.11893,
    "h": 35.3
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#87341F
secondary
#4AA2B8
accent
#C5E642
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #87341F

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

Preview Lab → · Contrast checker → · Palette generator →

#87341F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva