#87241A#87241A

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

Color values

HEX#87241A
RGBrgb(135, 36, 26)
HSLhsl(6, 68%, 32%)
HSVhsv(6, 81%, 53%)
CMYKcmyk(0%, 73.3%, 80.7%, 47.1%)
CIE-LABlab(30.61, 41.33, 30.77)
CIE-LCHlch(30.61, 51.53, 36.67°)
OKLaboklab(41.77% 0.118 0.0672)
OKLCHoklch(41.77% 0.136 29.7)
XYZxyz(10.8103, 6.4889, 1.6603)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87241A #1A7D87
analogous
#871A47 #87241A #875B1A
triadic
#87241A #1A8724 #241A87
tetradic
#87241A #47871A #1A7D87 #5B1A87
square
#87241A #47871A #1A7D87 #5B1A87
split-complementary
#87241A #1A875B #1A4787
monochromatic
#200906 #541610 #87241A #BA3224 #DA4F41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87241A#FFFFFF#000000##FFFFFF
##87241A1.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)
#413A18
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87241a;
/* rgb */ color: rgb(135, 36, 26);
/* oklch */ color: oklch(41.8% 0.136 29.7);
Tailwind
colors: {
  custom: {
    50: '#b26657',
    500: '#87241a',
    950: '#000000',
  },
}
SCSS
$custom: #87241a;
$custom-light: #b26657;
$custom-dark: #000000;
JSON
{
  "hex": "#87241a",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 26
  },
  "hsl": {
    "h": 5.505,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4177,
    "c": 0.13575,
    "h": 29.7
  },
  "luminance": 0.06487
}

Semantic roles & 50–950 ramp

primary
#87241A
secondary
#42AFBA
accent
#DBEB3D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87241A

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

Preview Lab → · Contrast checker → · Palette generator →

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