#87281F#87281F

#87281F is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.3% C 0.131 H 29.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#87281F
RGBrgb(135, 40, 31)
HSLhsl(5, 63%, 33%)
HSVhsv(5, 77%, 53%)
CMYKcmyk(0%, 70.4%, 77%, 47.1%)
CIE-LABlab(31.28, 39.88, 28.53)
CIE-LCHlch(31.28, 49.04, 35.58°)
OKLaboklab(42.28% 0.1145 0.0638)
OKLCHoklch(42.28% 0.131 29.1)
XYZxyz(10.9990, 6.7690, 2.0235)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87281F #1F7E87
analogous
#871F4A #87281F #875C1F
triadic
#87281F #1F8728 #281F87
tetradic
#87281F #4A871F #1F7E87 #5C1F87
square
#87281F #4A871F #1F7E87 #5C1F87
split-complementary
#87281F #1F875C #1F4A87
monochromatic
#230B08 #551914 #87281F #B9372A #D6574B

Accessibility & contrast

On white

8.92
#87281F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87281F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87281F#FFFFFF#000000##FFFFFF
##87281F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1D
Deuteranopia (green-blind)
#5B511C
Tritanopia (blue-blind)
#950927
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #87281f;
/* rgb */ color: rgb(135, 40, 31);
/* oklch */ color: oklch(42.3% 0.131 29.1);
Tailwind
colors: {
  custom: {
    50: '#b1685b',
    500: '#87281f',
    950: '#000000',
  },
}
SCSS
$custom: #87281f;
$custom-light: #b1685b;
$custom-dark: #000000;
JSON
{
  "hex": "#87281f",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 31
  },
  "hsl": {
    "h": 5.192,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42283,
    "c": 0.13106,
    "h": 29.1
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#87281F
secondary
#4AAFB8
accent
#D8E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #87281F

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

Preview Lab → · Contrast checker → · Palette generator →

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