#8A311D#8A311D

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

Color values

HEX#8A311D
RGBrgb(138, 49, 29)
HSLhsl(11, 65%, 33%)
HSVhsv(11, 79%, 54%)
CMYKcmyk(0%, 64.5%, 79%, 45.9%)
CIE-LABlab(33.33, 36.82, 32.06)
CIE-LCHlch(33.33, 48.83, 41.05°)
OKLaboklab(43.93% 0.1042 0.0707)
OKLCHoklch(43.93% 0.126 34.2)
XYZxyz(11.8026, 7.6903, 2.0250)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A311D #1D768A
analogous
#8A1D40 #8A311D #8A671D
triadic
#8A311D #1D8A31 #311D8A
tetradic
#8A311D #408A1D #1D768A #671D8A
square
#8A311D #408A1D #1D768A #671D8A
split-complementary
#8A311D #1D8A67 #1D408A
monochromatic
#250D08 #571F12 #8A311D #BD4328 #D96349

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A311D#FFFFFF#000000##FFFFFF
##8A311D1.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)
#4A421A
Deuteranopia (green-blind)
#60561A
Tritanopia (blue-blind)
#981A2D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a311d;
/* rgb */ color: rgb(138, 49, 29);
/* oklch */ color: oklch(43.9% 0.126 34.2);
Tailwind
colors: {
  custom: {
    50: '#b36d5a',
    500: '#8a311d',
    950: '#000000',
  },
}
SCSS
$custom: #8a311d;
$custom-light: #b36d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a311d",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 29
  },
  "hsl": {
    "h": 11.009,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43925,
    "c": 0.1259,
    "h": 34.2
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#8A311D
secondary
#48A6BB
accent
#C9E840
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #8A311D

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

Preview Lab → · Contrast checker → · Palette generator →

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