#8C181E#8C181E

#8C181E is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.7% C 0.150 H 24.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#8C181E
RGBrgb(140, 24, 30)
HSLhsl(357, 71%, 32%)
HSVhsv(357, 83%, 55%)
CMYKcmyk(0%, 82.9%, 78.6%, 45.1%)
CIE-LABlab(30.22, 47.21, 28.27)
CIE-LCHlch(30.22, 55.03, 30.91°)
OKLaboklab(41.67% 0.1367 0.0626)
OKLCHoklch(41.67% 0.15 24.6)
XYZxyz(11.3776, 6.3243, 1.8497)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C181E #188C86
analogous
#8C1858 #8C181E #8C4C18
triadic
#8C181E #1E8C18 #181E8C
tetradic
#8C181E #588C18 #188C86 #4C188C
square
#8C181E #588C18 #188C86 #4C188C
split-complementary
#8C181E #188C4C #18588C
monochromatic
#240608 #580F13 #8C181E #C02129 #DE4048

Accessibility & contrast

On white

9.27
#8C181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C181E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C181E#FFFFFF#000000##FFFFFF
##8C181E1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371D
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#9B001C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8c181e;
/* rgb */ color: rgb(140, 24, 30);
/* oklch */ color: oklch(41.7% 0.150 24.6);
Tailwind
colors: {
  custom: {
    50: '#b6625a',
    500: '#8c181e',
    950: '#000000',
  },
}
SCSS
$custom: #8c181e;
$custom-light: #b6625a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c181e",
  "rgb": {
    "r": 140,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 356.897,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41672,
    "c": 0.15037,
    "h": 24.6
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#8C181E
secondary
#41BFB8
accent
#EDE43A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8C181E

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

Preview Lab → · Contrast checker → · Palette generator →

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