#87301F#87301F

#87301F is a dark, vivid red. Relative luminance 0.074; OKLCH L 43.3% C 0.123 H 33.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#87301F
RGBrgb(135, 48, 31)
HSLhsl(10, 63%, 33%)
HSVhsv(10, 77%, 53%)
CMYKcmyk(0%, 64.4%, 77%, 47.1%)
CIE-LABlab(32.62, 36.25, 30.01)
CIE-LCHlch(32.62, 47.06, 39.62°)
OKLaboklab(43.3% 0.1032 0.067)
OKLCHoklch(43.3% 0.123 33)
XYZxyz(11.2972, 7.3653, 2.1228)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87301F #1F7687
analogous
#871F42 #87301F #87641F
triadic
#87301F #1F8730 #301F87
tetradic
#87301F #42871F #1F7687 #641F87
square
#87301F #42871F #1F7687 #641F87
split-complementary
#87301F #1F8764 #1F4287
monochromatic
#230D08 #551E14 #87301F #B9422A #D6614B

Accessibility & contrast

On white

8.49
#87301F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#87301F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87301F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87301F#FFFFFF#000000##FFFFFF
##87301F1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48411D
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#951A2D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #87301f;
/* rgb */ color: rgb(135, 48, 31);
/* oklch */ color: oklch(43.3% 0.123 33.0);
Tailwind
colors: {
  custom: {
    50: '#b16c5b',
    500: '#87301f',
    950: '#000000',
  },
}
SCSS
$custom: #87301f;
$custom-light: #b16c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#87301f",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 31
  },
  "hsl": {
    "h": 9.808,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43297,
    "c": 0.12299,
    "h": 33
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

primary
#87301F
secondary
#4AA6B8
accent
#CBE642
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #87301F

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

Preview Lab → · Contrast checker → · Palette generator →

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