#8A311E#8A311E

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

Color values

HEX#8A311E
RGBrgb(138, 49, 30)
HSLhsl(11, 64%, 33%)
HSVhsv(11, 78%, 54%)
CMYKcmyk(0%, 64.5%, 78.3%, 45.9%)
CIE-LABlab(33.34, 36.87, 31.51)
CIE-LCHlch(33.34, 48.50, 40.52°)
OKLaboklab(43.94% 0.1045 0.0698)
OKLCHoklch(43.94% 0.126 33.7)
XYZxyz(11.8152, 7.6953, 2.0912)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A311E #1E778A
analogous
#8A1E41 #8A311E #8A671E
triadic
#8A311E #1E8A31 #311E8A
tetradic
#8A311E #418A1E #1E778A #671E8A
square
#8A311E #418A1E #1E778A #671E8A
split-complementary
#8A311E #1E8A67 #1E418A
monochromatic
#250D08 #581F13 #8A311E #BC4329 #D8634B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A311E#FFFFFF#000000##FFFFFF
##8A311E1.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)
#4A421B
Deuteranopia (green-blind)
#60561B
Tritanopia (blue-blind)
#981A2D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a311e;
/* rgb */ color: rgb(138, 49, 30);
/* oklch */ color: oklch(43.9% 0.126 33.7);
Tailwind
colors: {
  custom: {
    50: '#b36d5b',
    500: '#8a311e',
    950: '#000000',
  },
}
SCSS
$custom: #8a311e;
$custom-light: #b36d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a311e",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 30
  },
  "hsl": {
    "h": 10.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43936,
    "c": 0.12566,
    "h": 33.7
  },
  "luminance": 0.07694
}

Semantic roles & 50–950 ramp

primary
#8A311E
secondary
#4AA6BA
accent
#CAE741
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #8A311E

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

Preview Lab → · Contrast checker → · Palette generator →

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