#87271D#87271D

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

Color values

HEX#87271D
RGBrgb(135, 39, 29)
HSLhsl(6, 65%, 32%)
HSVhsv(6, 79%, 53%)
CMYKcmyk(0%, 71.1%, 78.5%, 47.1%)
CIE-LABlab(31.10, 40.22, 29.53)
CIE-LCHlch(31.10, 49.90, 36.28°)
OKLaboklab(42.14% 0.1151 0.0654)
OKLCHoklch(42.14% 0.132 29.6)
XYZxyz(10.9402, 6.6923, 1.8778)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87271D #1D7D87
analogous
#871D48 #87271D #875C1D
triadic
#87271D #1D8727 #271D87
tetradic
#87271D #48871D #1D7D87 #5C1D87
square
#87271D #48871D #1D7D87 #5C1D87
split-complementary
#87271D #1D875C #1D4887
monochromatic
#220A07 #551812 #87271D #B93628 #D75547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87271D#FFFFFF#000000##FFFFFF
##87271D1.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)
#433C1B
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#950625
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #87271d;
/* rgb */ color: rgb(135, 39, 29);
/* oklch */ color: oklch(42.1% 0.132 29.6);
Tailwind
colors: {
  custom: {
    50: '#b2675a',
    500: '#87271d',
    950: '#000000',
  },
}
SCSS
$custom: #87271d;
$custom-light: #b2675a;
$custom-dark: #000000;
JSON
{
  "hex": "#87271d",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 5.66,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42141,
    "c": 0.1324,
    "h": 29.6
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#87271D
secondary
#46AFB9
accent
#D8E840
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #87271D

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

Preview Lab → · Contrast checker → · Palette generator →

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