#8C2F1F#8C2F1F

#8C2F1F is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.0% C 0.130 H 32.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8C2F1F
RGBrgb(140, 47, 31)
HSLhsl(9, 64%, 34%)
HSVhsv(9, 78%, 55%)
CMYKcmyk(0%, 66.4%, 77.9%, 45.1%)
CIE-LABlab(33.37, 38.59, 31.08)
CIE-LCHlch(33.37, 49.55, 38.85°)
OKLaboklab(44.03% 0.1099 0.069)
OKLCHoklch(44.03% 0.13 32.1)
XYZxyz(12.0804, 7.7092, 2.1480)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2F1F #1F7C8C
analogous
#8C1F45 #8C2F1F #8C651F
triadic
#8C2F1F #1F8C2F #2F1F8C
tetradic
#8C2F1F #458C1F #1F7C8C #651F8C
square
#8C2F1F #458C1F #1F7C8C #651F8C
split-complementary
#8C2F1F #1F8C65 #1F458C
monochromatic
#280D09 #5A1E14 #8C2F1F #BE402A #D8624E

Accessibility & contrast

On white

8.26
#8C2F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8C2F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2F1F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2F1F#FFFFFF#000000##FFFFFF
##8C2F1F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49421D
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#9A162C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8c2f1f;
/* rgb */ color: rgb(140, 47, 31);
/* oklch */ color: oklch(44.0% 0.130 32.1);
Tailwind
colors: {
  custom: {
    50: '#b56c5b',
    500: '#8c2f1f',
    950: '#000000',
  },
}
SCSS
$custom: #8c2f1f;
$custom-light: #b56c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2f1f",
  "rgb": {
    "r": 140,
    "g": 47,
    "b": 31
  },
  "hsl": {
    "h": 8.807,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44031,
    "c": 0.12972,
    "h": 32.1
  },
  "luminance": 0.07707
}

Semantic roles & 50–950 ramp

primary
#8C2F1F
secondary
#4CAABB
accent
#CEE741
background
#FCF6F5
surface
#F8ECE9
border
#D1C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #8C2F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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