#87281A#87281A

#87281A is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.2% C 0.132 H 31.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#87281A
RGBrgb(135, 40, 26)
HSLhsl(8, 68%, 32%)
HSVhsv(8, 81%, 53%)
CMYKcmyk(0%, 70.4%, 80.7%, 47.1%)
CIE-LABlab(31.22, 39.68, 31.39)
CIE-LCHlch(31.22, 50.60, 38.35°)
OKLaboklab(42.22% 0.1128 0.0686)
OKLCHoklch(42.22% 0.132 31.3)
XYZxyz(10.9382, 6.7447, 1.7030)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87281A #1A7987
analogous
#871A43 #87281A #875F1A
triadic
#87281A #1A8728 #281A87
tetradic
#87281A #43871A #1A7987 #5F1A87
square
#87281A #43871A #1A7987 #5F1A87
split-complementary
#87281A #1A875F #1A4387
monochromatic
#200A06 #541910 #87281A #BA3724 #DA5541

Accessibility & contrast

On white

8.94
#87281A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#87281A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87281A
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87281A#FFFFFF#000000##FFFFFF
##87281A1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C18
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#950826
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87281a;
/* rgb */ color: rgb(135, 40, 26);
/* oklch */ color: oklch(42.2% 0.132 31.3);
Tailwind
colors: {
  custom: {
    50: '#b26858',
    500: '#87281a',
    950: '#000000',
  },
}
SCSS
$custom: #87281a;
$custom-light: #b26858;
$custom-dark: #000000;
JSON
{
  "hex": "#87281a",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 26
  },
  "hsl": {
    "h": 7.706,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42222,
    "c": 0.13199,
    "h": 31.3
  },
  "luminance": 0.06743
}

Semantic roles & 50–950 ramp

primary
#87281A
secondary
#42ABBA
accent
#D4EB3D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87281A

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

Preview Lab → · Contrast checker → · Palette generator →

#87281A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva