#87331C#87331C

#87331C is a dark, vivid red. Relative luminance 0.076; OKLCH L 43.7% C 0.121 H 36.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#87331C
RGBrgb(135, 51, 28)
HSLhsl(13, 66%, 32%)
HSVhsv(13, 79%, 53%)
CMYKcmyk(0%, 62.2%, 79.3%, 47.1%)
CIE-LABlab(33.14, 34.65, 32.26)
CIE-LCHlch(33.14, 47.34, 42.95°)
OKLaboklab(43.68% 0.0976 0.071)
OKLCHoklch(43.68% 0.121 36)
XYZxyz(11.3863, 7.6040, 1.9665)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87331C #1C7087
analogous
#871C3B #87331C #87691C
triadic
#87331C #1C8733 #331C87
tetradic
#87331C #3B871C #1C7087 #691C87
square
#87331C #3B871C #1C7087 #691C87
split-complementary
#87331C #1C8769 #1C3B87
monochromatic
#220D07 #542011 #87331C #BA4627 #D86545

Accessibility & contrast

On white

8.33
#87331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87331C
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87331C#FFFFFF#000000##FFFFFF
##87331C1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4219
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#951F2E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87331c;
/* rgb */ color: rgb(135, 51, 28);
/* oklch */ color: oklch(43.7% 0.121 36.0);
Tailwind
colors: {
  custom: {
    50: '#b16e5a',
    500: '#87331c',
    950: '#000000',
  },
}
SCSS
$custom: #87331c;
$custom-light: #b16e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#87331c",
  "rgb": {
    "r": 135,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 12.897,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43678,
    "c": 0.12072,
    "h": 36
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#87331C
secondary
#45A1BA
accent
#C4E93F
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #87331C

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

Preview Lab → · Contrast checker → · Palette generator →

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