#8C181C#8C181C

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

Color values

HEX#8C181C
RGBrgb(140, 24, 28)
HSLhsl(358, 71%, 32%)
HSVhsv(358, 83%, 55%)
CMYKcmyk(0%, 82.9%, 80%, 45.1%)
CIE-LABlab(30.19, 47.14, 29.46)
CIE-LCHlch(30.19, 55.59, 32.01°)
OKLaboklab(41.65% 0.136 0.0646)
OKLCHoklch(41.65% 0.151 25.4)
XYZxyz(11.3528, 6.3144, 1.7194)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C181C #188C88
analogous
#8C1856 #8C181C #8C4E18
triadic
#8C181C #1C8C18 #181C8C
tetradic
#8C181C #568C18 #188C88 #4E188C
square
#8C181C #568C18 #188C88 #4E188C
split-complementary
#8C181C #188C4E #18568C
monochromatic
#240607 #580F12 #8C181C #C02126 #DE4046

Accessibility & contrast

On white

9.28
#8C181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C181C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C181C#FFFFFF#000000##FFFFFF
##8C181C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c181c;
/* rgb */ color: rgb(140, 24, 28);
/* oklch */ color: oklch(41.6% 0.151 25.4);
Tailwind
colors: {
  custom: {
    50: '#b66258',
    500: '#8c181c',
    950: '#000000',
  },
}
SCSS
$custom: #8c181c;
$custom-light: #b66258;
$custom-dark: #000000;
JSON
{
  "hex": "#8c181c",
  "rgb": {
    "r": 140,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 357.931,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41647,
    "c": 0.15058,
    "h": 25.4
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#8C181C
secondary
#41BFBA
accent
#EDE73A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8C181C

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

Preview Lab → · Contrast checker → · Palette generator →

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