#87291B#87291B

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

Color values

HEX#87291B
RGBrgb(135, 41, 27)
HSLhsl(8, 67%, 32%)
HSVhsv(8, 80%, 53%)
CMYKcmyk(0%, 69.6%, 80%, 47.1%)
CIE-LABlab(31.39, 39.28, 31.00)
CIE-LCHlch(31.39, 50.04, 38.28°)
OKLaboklab(42.35% 0.1118 0.068)
OKLCHoklch(42.35% 0.131 31.3)
XYZxyz(10.9837, 6.8175, 1.7743)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87291B #1B7987
analogous
#871B43 #87291B #875F1B
triadic
#87291B #1B8729 #291B87
tetradic
#87291B #43871B #1B7987 #5F1B87
square
#87291B #43871B #1B7987 #5F1B87
split-complementary
#87291B #1B875F #1B4387
monochromatic
#210A07 #541A11 #87291B #BA3825 #D95643

Accessibility & contrast

On white

8.89
#87291B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#87291B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87291B
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87291B#FFFFFF#000000##FFFFFF
##87291B1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D19
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#950B26
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #87291b;
/* rgb */ color: rgb(135, 41, 27);
/* oklch */ color: oklch(42.4% 0.131 31.3);
Tailwind
colors: {
  custom: {
    50: '#b26858',
    500: '#87291b',
    950: '#000000',
  },
}
SCSS
$custom: #87291b;
$custom-light: #b26858;
$custom-dark: #000000;
JSON
{
  "hex": "#87291b",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 27
  },
  "hsl": {
    "h": 7.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42353,
    "c": 0.13083,
    "h": 31.3
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#87291B
secondary
#44ABBA
accent
#D3EA3E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87291B

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

Preview Lab → · Contrast checker → · Palette generator →

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