#8B271E#8B271E

#8B271E is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.9% C 0.137 H 29.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8B271E
RGBrgb(139, 39, 30)
HSLhsl(5, 64%, 33%)
HSVhsv(5, 78%, 55%)
CMYKcmyk(0%, 71.9%, 78.4%, 45.5%)
CIE-LABlab(31.89, 41.66, 30.02)
CIE-LCHlch(31.89, 51.35, 35.77°)
OKLaboklab(42.88% 0.1194 0.0665)
OKLCHoklch(42.88% 0.137 29.1)
XYZxyz(11.6087, 7.0355, 1.9748)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B271E #1E828B
analogous
#8B1E4B #8B271E #8B5D1E
triadic
#8B271E #1E8B27 #271E8B
tetradic
#8B271E #4B8B1E #1E828B #5D1E8B
square
#8B271E #4B8B1E #1E828B #5D1E8B
split-complementary
#8B271E #1E8B5D #1E4B8B
monochromatic
#260B08 #591913 #8B271E #BD3529 #D8574B

Accessibility & contrast

On white

8.73
#8B271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8B271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B271E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B271E#FFFFFF#000000##FFFFFF
##8B271E1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1C
Deuteranopia (green-blind)
#5D531A
Tritanopia (blue-blind)
#990226
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b271e;
/* rgb */ color: rgb(139, 39, 30);
/* oklch */ color: oklch(42.9% 0.137 29.1);
Tailwind
colors: {
  custom: {
    50: '#b5685a',
    500: '#8b271e',
    950: '#000000',
  },
}
SCSS
$custom: #8b271e;
$custom-light: #b5685a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b271e",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 4.954,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4288,
    "c": 0.13662,
    "h": 29.1
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#8B271E
secondary
#4AB1BB
accent
#DAE740
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8B271E

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

Preview Lab → · Contrast checker → · Palette generator →

#8B271E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva