#8C181A#8C181A

#8C181A is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.151 H 26.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#8C181A
RGBrgb(140, 24, 26)
HSLhsl(359, 71%, 32%)
HSVhsv(359, 83%, 55%)
CMYKcmyk(0%, 82.9%, 81.4%, 45.1%)
CIE-LABlab(30.17, 47.07, 30.64)
CIE-LCHlch(30.17, 56.16, 33.06°)
OKLaboklab(41.62% 0.1354 0.0665)
OKLCHoklch(41.62% 0.151 26.2)
XYZxyz(11.3297, 6.3051, 1.5976)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C181A #188C8A
analogous
#8C1854 #8C181A #8C5018
triadic
#8C181A #1A8C18 #181A8C
tetradic
#8C181A #548C18 #188C8A #50188C
square
#8C181A #548C18 #188C8A #50188C
split-complementary
#8C181A #188C50 #18548C
monochromatic
#240607 #580F10 #8C181A #C02124 #DE4043

Accessibility & contrast

On white

9.29
#8C181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#8C181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C181A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C181A#FFFFFF#000000##FFFFFF
##8C181A1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3718
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#9B001B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8c181a;
/* rgb */ color: rgb(140, 24, 26);
/* oklch */ color: oklch(41.6% 0.151 26.2);
Tailwind
colors: {
  custom: {
    50: '#b66257',
    500: '#8c181a',
    950: '#000000',
  },
}
SCSS
$custom: #8c181a;
$custom-light: #b66257;
$custom-dark: #000000;
JSON
{
  "hex": "#8c181a",
  "rgb": {
    "r": 140,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 358.966,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41623,
    "c": 0.15081,
    "h": 26.2
  },
  "luminance": 0.06303
}

Semantic roles & 50–950 ramp

primary
#8C181A
secondary
#41BFBD
accent
#EDEA3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8C181A

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

Preview Lab → · Contrast checker → · Palette generator →

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