#8A371C#8A371C

#8A371C is a dark, vivid red. Relative luminance 0.082; OKLCH L 44.8% C 0.120 H 38.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8A371C
RGBrgb(138, 55, 28)
HSLhsl(15, 66%, 33%)
HSVhsv(15, 80%, 54%)
CMYKcmyk(0%, 60.1%, 79.7%, 45.9%)
CIE-LABlab(34.44, 33.83, 33.76)
CIE-LCHlch(34.44, 47.79, 44.94°)
OKLaboklab(44.76% 0.0948 0.0741)
OKLCHoklch(44.76% 0.12 38)
XYZxyz(12.0583, 8.2211, 2.0503)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A371C #1C6F8A
analogous
#8A1C38 #8A371C #8A6E1C
triadic
#8A371C #1C8A37 #371C8A
tetradic
#8A371C #388A1C #1C6F8A #6E1C8A
square
#8A371C #388A1C #1C6F8A #6E1C8A
split-complementary
#8A371C #1C8A6E #1C388A
monochromatic
#240E07 #572312 #8A371C #BD4B26 #DA6B47

Accessibility & contrast

On white

7.94
#8A371C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A371C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A371C
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A371C#FFFFFF#000000##FFFFFF
##8A371C1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4518
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#982431
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a371c;
/* rgb */ color: rgb(138, 55, 28);
/* oklch */ color: oklch(44.8% 0.120 38.0);
Tailwind
colors: {
  custom: {
    50: '#b3715a',
    500: '#8a371c',
    950: '#000000',
  },
}
SCSS
$custom: #8a371c;
$custom-light: #b3715a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a371c",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 14.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4476,
    "c": 0.12026,
    "h": 38
  },
  "luminance": 0.08219
}

Semantic roles & 50–950 ramp

primary
#8A371C
secondary
#469FBB
accent
#BFE93F
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120804
muted
#817B79

Preview Lab

Preview with #8A371C

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

Preview Lab → · Contrast checker → · Palette generator →

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