#8C271E#8C271E

#8C271E is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.1% C 0.138 H 29.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#8C271E
RGBrgb(140, 39, 30)
HSLhsl(5, 65%, 33%)
HSVhsv(5, 79%, 55%)
CMYKcmyk(0%, 72.1%, 78.6%, 45.1%)
CIE-LABlab(32.08, 42.01, 30.29)
CIE-LCHlch(32.08, 51.79, 35.79°)
OKLaboklab(43.06% 0.1203 0.067)
OKLCHoklch(43.06% 0.138 29.1)
XYZxyz(11.7764, 7.1220, 1.9826)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C271E #1E838C
analogous
#8C1E4C #8C271E #8C5E1E
triadic
#8C271E #1E8C27 #271E8C
tetradic
#8C271E #4C8C1E #1E838C #5E1E8C
square
#8C271E #4C8C1E #1E838C #5E1E8C
split-complementary
#8C271E #1E8C5E #1E4C8C
monochromatic
#270B08 #5A1913 #8C271E #BE3529 #D9574C

Accessibility & contrast

On white

8.66
#8C271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8C271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C271E
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C271E#FFFFFF#000000##FFFFFF
##8C271E1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1C
Deuteranopia (green-blind)
#5E541A
Tritanopia (blue-blind)
#9A0126
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8c271e;
/* rgb */ color: rgb(140, 39, 30);
/* oklch */ color: oklch(43.1% 0.138 29.1);
Tailwind
colors: {
  custom: {
    50: '#b5685a',
    500: '#8c271e',
    950: '#000000',
  },
}
SCSS
$custom: #8c271e;
$custom-light: #b5685a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c271e",
  "rgb": {
    "r": 140,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 4.909,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43063,
    "c": 0.13771,
    "h": 29.1
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#8C271E
secondary
#4BB2BB
accent
#DAE840
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130704
muted
#827A79

Preview Lab

Preview with #8C271E

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

Preview Lab → · Contrast checker → · Palette generator →

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