#87331F#87331F

#87331F is a dark, moderate red. Relative luminance 0.076; OKLCH L 43.7% C 0.120 H 34.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#87331F
RGBrgb(135, 51, 31)
HSLhsl(12, 63%, 33%)
HSVhsv(12, 77%, 53%)
CMYKcmyk(0%, 62.2%, 77%, 47.1%)
CIE-LABlab(33.18, 34.78, 30.60)
CIE-LCHlch(33.18, 46.33, 41.34°)
OKLaboklab(43.71% 0.0986 0.0683)
OKLCHoklch(43.71% 0.12 34.7)
XYZxyz(11.4240, 7.6191, 2.1651)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87331F #1F7387
analogous
#871F3F #87331F #87671F
triadic
#87331F #1F8733 #331F87
tetradic
#87331F #3F871F #1F7387 #671F87
square
#87331F #3F871F #1F7387 #671F87
split-complementary
#87331F #1F8767 #1F3F87
monochromatic
#230D08 #552014 #87331F #B9462A #D6654B

Accessibility & contrast

On white

8.32
#87331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#87331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87331F
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87331F#FFFFFF#000000##FFFFFF
##87331F1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421C
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#951F2F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87331f;
/* rgb */ color: rgb(135, 51, 31);
/* oklch */ color: oklch(43.7% 0.120 34.7);
Tailwind
colors: {
  custom: {
    50: '#b16e5c',
    500: '#87331f',
    950: '#000000',
  },
}
SCSS
$custom: #87331f;
$custom-light: #b16e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#87331f",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 11.538,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43713,
    "c": 0.11994,
    "h": 34.7
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#87331F
secondary
#4AA3B8
accent
#C6E642
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #87331F

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

Preview Lab → · Contrast checker → · Palette generator →

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