#87241B#87241B

#87241B is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.8% C 0.136 H 29.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#87241B
RGBrgb(135, 36, 27)
HSLhsl(5, 67%, 32%)
HSVhsv(5, 80%, 53%)
CMYKcmyk(0%, 73.3%, 80%, 47.1%)
CIE-LABlab(30.62, 41.37, 30.20)
CIE-LCHlch(30.62, 51.22, 36.13°)
OKLaboklab(41.78% 0.1183 0.0663)
OKLCHoklch(41.78% 0.136 29.3)
XYZxyz(10.8216, 6.4934, 1.7202)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87241B #1B7E87
analogous
#871B48 #87241B #875A1B
triadic
#87241B #1B8724 #241B87
tetradic
#87241B #48871B #1B7E87 #5A1B87
square
#87241B #48871B #1B7E87 #5A1B87
split-complementary
#87241B #1B875A #1B4887
monochromatic
#210907 #541611 #87241B #BA3225 #D95043

Accessibility & contrast

On white

9.14
#87241B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#87241B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87241B
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87241B#FFFFFF#000000##FFFFFF
##87241B1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A19
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87241b;
/* rgb */ color: rgb(135, 36, 27);
/* oklch */ color: oklch(41.8% 0.136 29.3);
Tailwind
colors: {
  custom: {
    50: '#b26658',
    500: '#87241b',
    950: '#000000',
  },
}
SCSS
$custom: #87241b;
$custom-light: #b26658;
$custom-dark: #000000;
JSON
{
  "hex": "#87241b",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 27
  },
  "hsl": {
    "h": 5,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41781,
    "c": 0.13558,
    "h": 29.3
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#87241B
secondary
#44B0BA
accent
#DBEA3E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87241B

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

Preview Lab → · Contrast checker → · Palette generator →

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