#8A311C#8A311C

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

Color values

HEX#8A311C
RGBrgb(138, 49, 28)
HSLhsl(11, 66%, 33%)
HSVhsv(11, 80%, 54%)
CMYKcmyk(0%, 64.5%, 79.7%, 45.9%)
CIE-LABlab(33.32, 36.78, 32.61)
CIE-LCHlch(33.32, 49.16, 41.56°)
OKLaboklab(43.91% 0.1039 0.0716)
OKLCHoklch(43.91% 0.126 34.6)
XYZxyz(11.7904, 7.6854, 1.9610)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A311C #1C758A
analogous
#8A1C3E #8A311C #8A681C
triadic
#8A311C #1C8A31 #311C8A
tetradic
#8A311C #3E8A1C #1C758A #681C8A
square
#8A311C #3E8A1C #1C758A #681C8A
split-complementary
#8A311C #1C8A68 #1C3E8A
monochromatic
#240D07 #571F12 #8A311C #BD4326 #DA6347

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A311C#FFFFFF#000000##FFFFFF
##8A311C1.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)
#4A4219
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#981A2D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a311c;
/* rgb */ color: rgb(138, 49, 28);
/* oklch */ color: oklch(43.9% 0.126 34.6);
Tailwind
colors: {
  custom: {
    50: '#b36d59',
    500: '#8a311c',
    950: '#000000',
  },
}
SCSS
$custom: #8a311c;
$custom-light: #b36d59;
$custom-dark: #000000;
JSON
{
  "hex": "#8a311c",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 11.455,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43913,
    "c": 0.12614,
    "h": 34.6
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#8A311C
secondary
#46A5BB
accent
#C9E93F
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120704
muted
#817A79

Preview Lab

Preview with #8A311C

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

Preview Lab → · Contrast checker → · Palette generator →

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