#87231C#87231C

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

Color values

HEX#87231C
RGBrgb(135, 35, 28)
HSLhsl(4, 66%, 32%)
HSVhsv(4, 79%, 53%)
CMYKcmyk(0%, 74.1%, 79.3%, 47.1%)
CIE-LABlab(30.49, 41.80, 29.47)
CIE-LCHlch(30.49, 51.15, 35.19°)
OKLaboklab(41.69% 0.1199 0.065)
OKLCHoklch(41.69% 0.136 28.5)
XYZxyz(10.8036, 6.4385, 1.7723)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87231C #1C8087
analogous
#871C4B #87231C #87591C
triadic
#87231C #1C8723 #231C87
tetradic
#87231C #4B871C #1C8087 #591C87
square
#87231C #4B871C #1C8087 #591C87
split-complementary
#87231C #1C8759 #1C4B87
monochromatic
#220907 #541611 #87231C #BA3027 #D84F45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87231C#FFFFFF#000000##FFFFFF
##87231C1.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)
#413A1A
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87231c;
/* rgb */ color: rgb(135, 35, 28);
/* oklch */ color: oklch(41.7% 0.136 28.5);
Tailwind
colors: {
  custom: {
    50: '#b26659',
    500: '#87231c',
    950: '#000000',
  },
}
SCSS
$custom: #87231c;
$custom-light: #b26659;
$custom-dark: #000000;
JSON
{
  "hex": "#87231c",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 3.925,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41686,
    "c": 0.13635,
    "h": 28.5
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#87231C
secondary
#45B2BA
accent
#DEE93F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87231C

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

Preview Lab → · Contrast checker → · Palette generator →

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