#8A391F#8A391F

#8A391F is a mid, moderate red. Relative luminance 0.084; OKLCH L 45.1% C 0.117 H 38.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8A391F
RGBrgb(138, 57, 31)
HSLhsl(15, 63%, 33%)
HSVhsv(15, 78%, 54%)
CMYKcmyk(0%, 58.7%, 77.5%, 45.9%)
CIE-LABlab(34.86, 32.93, 32.56)
CIE-LCHlch(34.86, 46.31, 44.67°)
OKLaboklab(45.09% 0.0926 0.0723)
OKLCHoklch(45.09% 0.117 38)
XYZxyz(12.1929, 8.4301, 2.2812)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A391F #1F708A
analogous
#8A1F3B #8A391F #8A6E1F
triadic
#8A391F #1F8A39 #391F8A
tetradic
#8A391F #3B8A1F #1F708A #6E1F8A
square
#8A391F #3B8A1F #1F708A #6E1F8A
split-complementary
#8A391F #1F8A6E #1F3B8A
monochromatic
#261009 #582414 #8A391F #BC4E2A #D76E4C

Accessibility & contrast

On white

7.82
#8A391F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8A391F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A391F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A391F#FFFFFF#000000##FFFFFF
##8A391F1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471C
Deuteranopia (green-blind)
#63591D
Tritanopia (blue-blind)
#982733
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a391f;
/* rgb */ color: rgb(138, 57, 31);
/* oklch */ color: oklch(45.1% 0.117 38.0);
Tailwind
colors: {
  custom: {
    50: '#b3725c',
    500: '#8a391f',
    950: '#000000',
  },
}
SCSS
$custom: #8a391f;
$custom-light: #b3725c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a391f",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 31
  },
  "hsl": {
    "h": 14.579,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45091,
    "c": 0.11746,
    "h": 38
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#8A391F
secondary
#4B9FBA
accent
#BEE641
background
#FBF7F5
surface
#F7EDE9
border
#D0C8C5
text
#120804
muted
#817B79

Preview Lab

Preview with #8A391F

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

Preview Lab → · Contrast checker → · Palette generator →

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