#8C2117#8C2117

#8C2117 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.4% C 0.144 H 29.7°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#8C2117
RGBrgb(140, 33, 23)
HSLhsl(5, 72%, 32%)
HSVhsv(5, 84%, 55%)
CMYKcmyk(0%, 76.4%, 83.6%, 45.1%)
CIE-LABlab(31.18, 44.06, 33.37)
CIE-LCHlch(31.18, 55.27, 37.14°)
OKLaboklab(42.36% 0.1253 0.0714)
OKLCHoklch(42.36% 0.144 29.7)
XYZxyz(11.5151, 6.7268, 1.5025)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2117 #17828C
analogous
#8C1748 #8C2117 #8C5C17
triadic
#8C2117 #178C21 #21178C
tetradic
#8C2117 #488C17 #17828C #5C178C
square
#8C2117 #488C17 #17828C #5C178C
split-complementary
#8C2117 #178C5C #17488C
monochromatic
#230806 #57150E #8C2117 #C12D20 #DF4C3E

Accessibility & contrast

On white

8.96
#8C2117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8C2117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2117
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2117#FFFFFF#000000##FFFFFF
##8C21171.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A15
Deuteranopia (green-blind)
#5C5212
Tritanopia (blue-blind)
#9B0020
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8c2117;
/* rgb */ color: rgb(140, 33, 23);
/* oklch */ color: oklch(42.4% 0.144 29.7);
Tailwind
colors: {
  custom: {
    50: '#b66555',
    500: '#8c2117',
    950: '#000000',
  },
}
SCSS
$custom: #8c2117;
$custom-light: #b66555;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2117",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 5.128,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42362,
    "c": 0.14419,
    "h": 29.7
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#8C2117
secondary
#3FB4BF
accent
#DFEF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8C2117

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

Preview Lab → · Contrast checker → · Palette generator →

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