#87231F#87231F

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

Color values

HEX#87231F
RGBrgb(135, 35, 31)
HSLhsl(2, 63%, 33%)
HSVhsv(2, 77%, 53%)
CMYKcmyk(0%, 74.1%, 77%, 47.1%)
CIE-LABlab(30.53, 41.93, 27.71)
CIE-LCHlch(30.53, 50.26, 33.46°)
OKLaboklab(41.73% 0.1209 0.062)
OKLCHoklch(41.73% 0.136 27.1)
XYZxyz(10.8413, 6.4535, 1.9709)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87231F #1F8387
analogous
#871F4F #87231F #87571F
triadic
#87231F #1F8723 #231F87
tetradic
#87231F #4F871F #1F8387 #571F87
square
#87231F #4F871F #1F8387 #571F87
split-complementary
#87231F #1F8757 #1F4F87
monochromatic
#230908 #551614 #87231F #B9302A #D6504B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87231F#FFFFFF#000000##FFFFFF
##87231F1.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)
#403A1E
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #87231f;
/* rgb */ color: rgb(135, 35, 31);
/* oklch */ color: oklch(41.7% 0.136 27.1);
Tailwind
colors: {
  custom: {
    50: '#b2665b',
    500: '#87231f',
    950: '#000000',
  },
}
SCSS
$custom: #87231f;
$custom-light: #b2665b;
$custom-dark: #000000;
JSON
{
  "hex": "#87231f",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 31
  },
  "hsl": {
    "h": 2.308,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.13588,
    "h": 27.1
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#87231F
secondary
#4AB4B8
accent
#DFE642
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #87231F

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

Preview Lab → · Contrast checker → · Palette generator →

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