#8A311F#8A311F

#8A311F is a dark, vivid red. Relative luminance 0.077; OKLCH L 43.9% C 0.125 H 33.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8A311F
RGBrgb(138, 49, 31)
HSLhsl(10, 63%, 33%)
HSVhsv(10, 78%, 54%)
CMYKcmyk(0%, 64.5%, 77.5%, 45.9%)
CIE-LABlab(33.35, 36.91, 30.95)
CIE-LCHlch(33.35, 48.17, 39.98°)
OKLaboklab(43.95% 0.1049 0.0688)
OKLCHoklch(43.95% 0.125 33.3)
XYZxyz(11.8281, 7.7005, 2.1596)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A311F #1F788A
analogous
#8A1F43 #8A311F #8A661F
triadic
#8A311F #1F8A31 #311F8A
tetradic
#8A311F #438A1F #1F788A #661F8A
square
#8A311F #438A1F #1F788A #661F8A
split-complementary
#8A311F #1F8A66 #1F438A
monochromatic
#260E09 #581F14 #8A311F #BC432A #D7644C

Accessibility & contrast

On white

8.27
#8A311F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A311F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A311F#FFFFFF#000000##FFFFFF
##8A311F1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421D
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#981B2D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a311f;
/* rgb */ color: rgb(138, 49, 31);
/* oklch */ color: oklch(43.9% 0.125 33.3);
Tailwind
colors: {
  custom: {
    50: '#b36d5c',
    500: '#8a311f',
    950: '#000000',
  },
}
SCSS
$custom: #8a311f;
$custom-light: #b36d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a311f",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 10.093,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43948,
    "c": 0.12543,
    "h": 33.3
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#8A311F
secondary
#4BA7BA
accent
#CBE641
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #8A311F

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

Preview Lab → · Contrast checker → · Palette generator →

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