#87231A#87231A

#87231A is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.137 H 29.3°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#87231A
RGBrgb(135, 35, 26)
HSLhsl(5, 68%, 32%)
HSVhsv(5, 81%, 53%)
CMYKcmyk(0%, 74.1%, 80.7%, 47.1%)
CIE-LABlab(30.47, 41.73, 30.63)
CIE-LCHlch(30.47, 51.76, 36.28°)
OKLaboklab(41.66% 0.1192 0.0669)
OKLCHoklch(41.66% 0.137 29.3)
XYZxyz(10.7804, 6.4292, 1.6504)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87231A #1A7E87
analogous
#871A48 #87231A #875A1A
triadic
#87231A #1A8723 #231A87
tetradic
#87231A #48871A #1A7E87 #5A1A87
square
#87231A #48871A #1A7E87 #5A1A87
split-complementary
#87231A #1A875A #1A4887
monochromatic
#200806 #541610 #87231A #BA3024 #DA4E41

Accessibility & contrast

On white

9.19
#87231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#87231A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87231A
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87231A#FFFFFF#000000##FFFFFF
##87231A1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A18
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87231a;
/* rgb */ color: rgb(135, 35, 26);
/* oklch */ color: oklch(41.7% 0.137 29.3);
Tailwind
colors: {
  custom: {
    50: '#b26557',
    500: '#87231a',
    950: '#000000',
  },
}
SCSS
$custom: #87231a;
$custom-light: #b26557;
$custom-dark: #000000;
JSON
{
  "hex": "#87231a",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 4.954,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41662,
    "c": 0.13668,
    "h": 29.3
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#87231A
secondary
#42B0BA
accent
#DCEB3D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87231A

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

Preview Lab → · Contrast checker → · Palette generator →

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