#87231B#87231B

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

Color values

HEX#87231B
RGBrgb(135, 35, 27)
HSLhsl(4, 67%, 32%)
HSVhsv(4, 80%, 53%)
CMYKcmyk(0%, 74.1%, 80%, 47.1%)
CIE-LABlab(30.48, 41.76, 30.05)
CIE-LCHlch(30.48, 51.45, 35.74°)
OKLaboklab(41.67% 0.1195 0.066)
OKLCHoklch(41.67% 0.137 28.9)
XYZxyz(10.7918, 6.4338, 1.7103)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87231B #1B7F87
analogous
#871B49 #87231B #87591B
triadic
#87231B #1B8723 #231B87
tetradic
#87231B #49871B #1B7F87 #591B87
square
#87231B #49871B #1B7F87 #591B87
split-complementary
#87231B #1B8759 #1B4987
monochromatic
#210907 #541611 #87231B #BA3025 #D94E43

Accessibility & contrast

On white

9.18
#87231B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87231B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87231B#FFFFFF#000000##FFFFFF
##87231B1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A19
Deuteranopia (green-blind)
#595017
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87231b;
/* rgb */ color: rgb(135, 35, 27);
/* oklch */ color: oklch(41.7% 0.137 28.9);
Tailwind
colors: {
  custom: {
    50: '#b26558',
    500: '#87231b',
    950: '#000000',
  },
}
SCSS
$custom: #87231b;
$custom-light: #b26558;
$custom-dark: #000000;
JSON
{
  "hex": "#87231b",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 4.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41674,
    "c": 0.13651,
    "h": 28.9
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#87231B
secondary
#44B1BA
accent
#DDEA3E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87231B

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

Preview Lab → · Contrast checker → · Palette generator →

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