#87291F#87291F

#87291F is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.4% C 0.130 H 29.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#87291F
RGBrgb(135, 41, 31)
HSLhsl(6, 63%, 33%)
HSVhsv(6, 77%, 53%)
CMYKcmyk(0%, 69.6%, 77%, 47.1%)
CIE-LABlab(31.43, 39.45, 28.71)
CIE-LCHlch(31.43, 48.79, 36.04°)
OKLaboklab(42.4% 0.1131 0.0642)
OKLCHoklch(42.4% 0.13 29.6)
XYZxyz(11.0332, 6.8373, 2.0348)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87291F #1F7D87
analogous
#871F49 #87291F #875D1F
triadic
#87291F #1F8729 #291F87
tetradic
#87291F #49871F #1F7D87 #5D1F87
square
#87291F #49871F #1F7D87 #5D1F87
split-complementary
#87291F #1F875D #1F4987
monochromatic
#230B08 #551A14 #87291F #B9382A #D6584B

Accessibility & contrast

On white

8.87
#87291F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#87291F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87291F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87291F#FFFFFF#000000##FFFFFF
##87291F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1D
Deuteranopia (green-blind)
#5B521C
Tritanopia (blue-blind)
#950C27
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #87291f;
/* rgb */ color: rgb(135, 41, 31);
/* oklch */ color: oklch(42.4% 0.130 29.6);
Tailwind
colors: {
  custom: {
    50: '#b1695b',
    500: '#87291f',
    950: '#000000',
  },
}
SCSS
$custom: #87291f;
$custom-light: #b1695b;
$custom-dark: #000000;
JSON
{
  "hex": "#87291f",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 5.769,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42402,
    "c": 0.13007,
    "h": 29.6
  },
  "luminance": 0.06836
}

Semantic roles & 50–950 ramp

primary
#87291F
secondary
#4AAEB8
accent
#D6E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #87291F

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

Preview Lab → · Contrast checker → · Palette generator →

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