#87261B#87261B

#87261B is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.0% C 0.134 H 30.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#87261B
RGBrgb(135, 38, 27)
HSLhsl(6, 67%, 32%)
HSVhsv(6, 80%, 53%)
CMYKcmyk(0%, 71.9%, 80%, 47.1%)
CIE-LABlab(30.92, 40.56, 30.51)
CIE-LCHlch(30.92, 50.75, 36.95°)
OKLaboklab(42% 0.1157 0.067)
OKLCHoklch(42% 0.134 30.1)
XYZxyz(10.8839, 6.6179, 1.7410)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87261B #1B7C87
analogous
#871B46 #87261B #875C1B
triadic
#87261B #1B8726 #261B87
tetradic
#87261B #46871B #1B7C87 #5C1B87
square
#87261B #46871B #1B7C87 #5C1B87
split-complementary
#87261B #1B875C #1B4687
monochromatic
#210907 #541811 #87261B #BA3425 #D95243

Accessibility & contrast

On white

9.04
#87261B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#87261B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87261B
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87261B#FFFFFF#000000##FFFFFF
##87261B1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B19
Deuteranopia (green-blind)
#5A5117
Tritanopia (blue-blind)
#950224
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87261b;
/* rgb */ color: rgb(135, 38, 27);
/* oklch */ color: oklch(42.0% 0.134 30.1);
Tailwind
colors: {
  custom: {
    50: '#b26758',
    500: '#87261b',
    950: '#000000',
  },
}
SCSS
$custom: #87261b;
$custom-light: #b26758;
$custom-dark: #000000;
JSON
{
  "hex": "#87261b",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 27
  },
  "hsl": {
    "h": 6.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42003,
    "c": 0.13371,
    "h": 30.1
  },
  "luminance": 0.06616
}

Semantic roles & 50–950 ramp

primary
#87261B
secondary
#44AEBA
accent
#D8EA3E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87261B

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

Preview Lab → · Contrast checker → · Palette generator →

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