#8E271B#8E271B

#8E271B is a dark, vivid red. Relative luminance 0.073; OKLCH L 43.4% C 0.140 H 30.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8E271B
RGBrgb(142, 39, 27)
HSLhsl(6, 68%, 33%)
HSVhsv(6, 81%, 56%)
CMYKcmyk(0%, 72.5%, 81%, 44.3%)
CIE-LABlab(32.44, 42.59, 32.51)
CIE-LCHlch(32.44, 53.58, 37.36°)
OKLaboklab(43.39% 0.1213 0.0707)
OKLCHoklch(43.39% 0.14 30.3)
XYZxyz(12.0801, 7.2828, 1.8063)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E271B #1B828E
analogous
#8E1B48 #8E271B #8E601B
triadic
#8E271B #1B8E27 #271B8E
tetradic
#8E271B #488E1B #1B828E #601B8E
square
#8E271B #488E1B #1B828E #601B8E
split-complementary
#8E271B #1B8E60 #1B488E
monochromatic
#270B07 #5B1911 #8E271B #C13525 #DC5747

Accessibility & contrast

On white

8.55
#8E271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8E271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E271B
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E271B#FFFFFF#000000##FFFFFF
##8E271B1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E19
Deuteranopia (green-blind)
#5F5516
Tritanopia (blue-blind)
#9D0025
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e271b;
/* rgb */ color: rgb(142, 39, 27);
/* oklch */ color: oklch(43.4% 0.140 30.3);
Tailwind
colors: {
  custom: {
    50: '#b76858',
    500: '#8e271b',
    950: '#000000',
  },
}
SCSS
$custom: #8e271b;
$custom-light: #b76858;
$custom-dark: #000000;
JSON
{
  "hex": "#8e271b",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 6.261,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43392,
    "c": 0.14039,
    "h": 30.3
  },
  "luminance": 0.07281
}

Semantic roles & 50–950 ramp

primary
#8E271B
secondary
#47B1BE
accent
#D9EB3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8E271B

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

Preview Lab → · Contrast checker → · Palette generator →

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