#87261C#87261C

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

Color values

HEX#87261C
RGBrgb(135, 38, 28)
HSLhsl(6, 66%, 32%)
HSVhsv(6, 79%, 53%)
CMYKcmyk(0%, 71.9%, 79.3%, 47.1%)
CIE-LABlab(30.93, 40.60, 29.94)
CIE-LCHlch(30.93, 50.44, 36.41°)
OKLaboklab(42.01% 0.1161 0.066)
OKLCHoklch(42.01% 0.134 29.6)
XYZxyz(10.8956, 6.6226, 1.8030)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87261C #1C7D87
analogous
#871C48 #87261C #875B1C
triadic
#87261C #1C8726 #261C87
tetradic
#87261C #48871C #1C7D87 #5B1C87
square
#87261C #48871C #1C7D87 #5B1C87
split-complementary
#87261C #1C875B #1C4887
monochromatic
#220907 #541811 #87261C #BA3427 #D85345

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87261C#FFFFFF#000000##FFFFFF
##87261C1.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)
#423B1A
Deuteranopia (green-blind)
#5A5118
Tritanopia (blue-blind)
#950225
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87261c;
/* rgb */ color: rgb(135, 38, 28);
/* oklch */ color: oklch(42.0% 0.134 29.6);
Tailwind
colors: {
  custom: {
    50: '#b26759',
    500: '#87261c',
    950: '#000000',
  },
}
SCSS
$custom: #87261c;
$custom-light: #b26759;
$custom-dark: #000000;
JSON
{
  "hex": "#87261c",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 28
  },
  "hsl": {
    "h": 5.607,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42014,
    "c": 0.13354,
    "h": 29.6
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#87261C
secondary
#45AFBA
accent
#D9E93F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87261C

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

Preview Lab → · Contrast checker → · Palette generator →

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