#8C181B#8C181B

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

Color values

HEX#8C181B
RGBrgb(140, 24, 27)
HSLhsl(358, 71%, 32%)
HSVhsv(358, 83%, 55%)
CMYKcmyk(0%, 82.9%, 80.7%, 45.1%)
CIE-LABlab(30.18, 47.10, 30.06)
CIE-LCHlch(30.18, 55.87, 32.54°)
OKLaboklab(41.63% 0.1357 0.0655)
OKLCHoklch(41.63% 0.151 25.8)
XYZxyz(11.3411, 6.3097, 1.6574)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C181B #188C89
analogous
#8C1855 #8C181B #8C4F18
triadic
#8C181B #1B8C18 #181B8C
tetradic
#8C181B #558C18 #188C89 #4F188C
square
#8C181B #558C18 #188C89 #4F188C
split-complementary
#8C181B #188C4F #18558C
monochromatic
#240607 #580F11 #8C181B #C02125 #DE4044

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C181B#FFFFFF#000000##FFFFFF
##8C181B1.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)
#3D371A
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#9B001B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8c181b;
/* rgb */ color: rgb(140, 24, 27);
/* oklch */ color: oklch(41.6% 0.151 25.8);
Tailwind
colors: {
  custom: {
    50: '#b66258',
    500: '#8c181b',
    950: '#000000',
  },
}
SCSS
$custom: #8c181b;
$custom-light: #b66258;
$custom-dark: #000000;
JSON
{
  "hex": "#8c181b",
  "rgb": {
    "r": 140,
    "g": 24,
    "b": 27
  },
  "hsl": {
    "h": 358.448,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41634,
    "c": 0.15069,
    "h": 25.8
  },
  "luminance": 0.06308
}

Semantic roles & 50–950 ramp

primary
#8C181B
secondary
#41BFBC
accent
#EDE93A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8C181B

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

Preview Lab → · Contrast checker → · Palette generator →

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