#87271E#87271E

#87271E is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.2% C 0.132 H 29.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#87271E
RGBrgb(135, 39, 30)
HSLhsl(5, 64%, 32%)
HSVhsv(5, 78%, 53%)
CMYKcmyk(0%, 71.1%, 77.8%, 47.1%)
CIE-LABlab(31.11, 40.26, 28.95)
CIE-LCHlch(31.11, 49.59, 35.71°)
OKLaboklab(42.15% 0.1155 0.0644)
OKLCHoklch(42.15% 0.132 29.2)
XYZxyz(10.9528, 6.6973, 1.9440)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87271E #1E7E87
analogous
#871E49 #87271E #875C1E
triadic
#87271E #1E8727 #271E87
tetradic
#87271E #49871E #1E7E87 #5C1E87
square
#87271E #49871E #1E7E87 #5C1E87
split-complementary
#87271E #1E875C #1E4987
monochromatic
#230A08 #551913 #87271E #B93529 #D75549

Accessibility & contrast

On white

8.98
#87271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#87271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87271E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87271E#FFFFFF#000000##FFFFFF
##87271E1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1C
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#950626
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87271e;
/* rgb */ color: rgb(135, 39, 30);
/* oklch */ color: oklch(42.2% 0.132 29.2);
Tailwind
colors: {
  custom: {
    50: '#b1685a',
    500: '#87271e',
    950: '#000000',
  },
}
SCSS
$custom: #87271e;
$custom-light: #b1685a;
$custom-dark: #000000;
JSON
{
  "hex": "#87271e",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 5.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42154,
    "c": 0.13222,
    "h": 29.2
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#87271E
secondary
#48AFB9
accent
#D8E741
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #87271E

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

Preview Lab → · Contrast checker → · Palette generator →

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