#87261F#87261F

#87261F is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.133 H 28.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#87261F
RGBrgb(135, 38, 31)
HSLhsl(4, 63%, 33%)
HSVhsv(4, 77%, 53%)
CMYKcmyk(0%, 71.9%, 77%, 47.1%)
CIE-LABlab(30.97, 40.72, 28.19)
CIE-LCHlch(30.97, 49.53, 34.70°)
OKLaboklab(42.05% 0.1171 0.0631)
OKLCHoklch(42.05% 0.133 28.3)
XYZxyz(10.9333, 6.6377, 2.0016)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87261F #1F8087
analogous
#871F4C #87261F #875A1F
triadic
#87261F #1F8726 #261F87
tetradic
#87261F #4C871F #1F8087 #5A1F87
square
#87261F #4C871F #1F8087 #5A1F87
split-complementary
#87261F #1F875A #1F4C87
monochromatic
#230A08 #551814 #87261F #B9342A #D6544B

Accessibility & contrast

On white

9.02
#87261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#87261F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87261F
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87261F#FFFFFF#000000##FFFFFF
##87261F1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1D
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#950425
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87261f;
/* rgb */ color: rgb(135, 38, 31);
/* oklch */ color: oklch(42.1% 0.133 28.3);
Tailwind
colors: {
  custom: {
    50: '#b1675b',
    500: '#87261f',
    950: '#000000',
  },
}
SCSS
$custom: #87261f;
$custom-light: #b1675b;
$custom-dark: #000000;
JSON
{
  "hex": "#87261f",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 4.038,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42052,
    "c": 0.13301,
    "h": 28.3
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#87261F
secondary
#4AB1B8
accent
#DBE642
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #87261F

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

Preview Lab → · Contrast checker → · Palette generator →

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