#87312E#87312E

#87312E is a dark, moderate red. Relative luminance 0.075; OKLCH L 43.7% C 0.119 H 25.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#87312E
RGBrgb(135, 49, 46)
HSLhsl(2, 49%, 35%)
HSVhsv(2, 66%, 53%)
CMYKcmyk(0%, 63.7%, 65.9%, 47.1%)
CIE-LABlab(33.02, 36.61, 21.35)
CIE-LCHlch(33.02, 42.38, 30.25°)
OKLaboklab(43.66% 0.1074 0.0507)
OKLCHoklch(43.66% 0.119 25.3)
XYZxyz(11.5843, 7.5463, 3.4308)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87312E #2E8487
analogous
#872E58 #87312E #875D2E
triadic
#87312E #2E8731 #312E87
tetradic
#87312E #58872E #2E8487 #5D2E87
square
#87312E #58872E #2E8487 #5D2E87
split-complementary
#87312E #2E875D #2E5887
monochromatic
#2C100F #59201E #87312E #B5423E #CA6865

Accessibility & contrast

On white

8.37
#87312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#87312E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87312E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87312E#FFFFFF#000000##FFFFFF
##87312E1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47422D
Deuteranopia (green-blind)
#5D552C
Tritanopia (blue-blind)
#941F31
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87312e;
/* rgb */ color: rgb(135, 49, 46);
/* oklch */ color: oklch(43.7% 0.119 25.3);
Tailwind
colors: {
  custom: {
    50: '#b06d66',
    500: '#87312e',
    950: '#000000',
  },
}
SCSS
$custom: #87312e;
$custom-light: #b06d66;
$custom-dark: #000000;
JSON
{
  "hex": "#87312e",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 2.022,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43663,
    "c": 0.11877,
    "h": 25.3
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#87312E
secondary
#60AEB1
accent
#D4D94F
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #87312E

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

Preview Lab → · Contrast checker → · Palette generator →

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