#87231E#87231E

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

Color values

HEX#87231E
RGBrgb(135, 35, 30)
HSLhsl(3, 64%, 32%)
HSVhsv(3, 78%, 53%)
CMYKcmyk(0%, 74.1%, 77.8%, 47.1%)
CIE-LABlab(30.52, 41.88, 28.30)
CIE-LCHlch(30.52, 50.55, 34.05°)
OKLaboklab(41.71% 0.1206 0.063)
OKLCHoklch(41.71% 0.136 27.6)
XYZxyz(10.8283, 6.4484, 1.9025)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87231E #1E8287
analogous
#871E4E #87231E #87571E
triadic
#87231E #1E8723 #231E87
tetradic
#87231E #4E871E #1E8287 #571E87
square
#87231E #4E871E #1E8287 #571E87
split-complementary
#87231E #1E8757 #1E4E87
monochromatic
#230908 #551613 #87231E #B93029 #D75049

Accessibility & contrast

On white

9.17
#87231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87231E
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87231E#FFFFFF#000000##FFFFFF
##87231E1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1C
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87231e;
/* rgb */ color: rgb(135, 35, 30);
/* oklch */ color: oklch(41.7% 0.136 27.6);
Tailwind
colors: {
  custom: {
    50: '#b2665a',
    500: '#87231e',
    950: '#000000',
  },
}
SCSS
$custom: #87231e;
$custom-light: #b2665a;
$custom-dark: #000000;
JSON
{
  "hex": "#87231e",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 2.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41712,
    "c": 0.13604,
    "h": 27.6
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#87231E
secondary
#48B3B9
accent
#DFE741
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #87231E

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

Preview Lab → · Contrast checker → · Palette generator →

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