#8A311B#8A311B

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

Color values

HEX#8A311B
RGBrgb(138, 49, 27)
HSLhsl(12, 67%, 32%)
HSVhsv(12, 80%, 54%)
CMYKcmyk(0%, 64.5%, 80.4%, 45.9%)
CIE-LABlab(33.31, 36.74, 33.15)
CIE-LCHlch(33.31, 49.49, 42.06°)
OKLaboklab(43.9% 0.1036 0.0725)
OKLCHoklch(43.9% 0.126 35)
XYZxyz(11.7787, 7.6807, 1.8990)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A311B #1B748A
analogous
#8A1B3C #8A311B #8A691B
triadic
#8A311B #1B8A31 #311B8A
tetradic
#8A311B #3C8A1B #1B748A #691B8A
square
#8A311B #3C8A1B #1B748A #691B8A
split-complementary
#8A311B #1B8A69 #1B3C8A
monochromatic
#240D07 #571F11 #8A311B #BD4325 #DB6345

Accessibility & contrast

On white

8.28
#8A311B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A311B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A311B#FFFFFF#000000##FFFFFF
##8A311B1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4218
Deuteranopia (green-blind)
#605618
Tritanopia (blue-blind)
#981A2D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a311b;
/* rgb */ color: rgb(138, 49, 27);
/* oklch */ color: oklch(43.9% 0.126 35.0);
Tailwind
colors: {
  custom: {
    50: '#b36d59',
    500: '#8a311b',
    950: '#000000',
  },
}
SCSS
$custom: #8a311b;
$custom-light: #b36d59;
$custom-dark: #000000;
JSON
{
  "hex": "#8a311b",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 11.892,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43903,
    "c": 0.12638,
    "h": 35
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#8A311B
secondary
#45A4BC
accent
#C8EA3E
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120703
muted
#817A78

Preview Lab

Preview with #8A311B

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

Preview Lab → · Contrast checker → · Palette generator →

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