#8A381F#8A381F

#8A381F is a dark, moderate red. Relative luminance 0.083; OKLCH L 44.9% C 0.118 H 37.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8A381F
RGBrgb(138, 56, 31)
HSLhsl(14, 63%, 33%)
HSVhsv(14, 78%, 54%)
CMYKcmyk(0%, 59.4%, 77.5%, 45.9%)
CIE-LABlab(34.67, 33.45, 32.35)
CIE-LCHlch(34.67, 46.53, 44.05°)
OKLaboklab(44.94% 0.0942 0.0719)
OKLCHoklch(44.94% 0.118 37.3)
XYZxyz(12.1440, 8.3322, 2.2648)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A381F #1F718A
analogous
#8A1F3B #8A381F #8A6D1F
triadic
#8A381F #1F8A38 #381F8A
tetradic
#8A381F #3B8A1F #1F718A #6D1F8A
square
#8A381F #3B8A1F #1F718A #6D1F8A
split-complementary
#8A381F #1F8A6D #1F3B8A
monochromatic
#260F09 #582414 #8A381F #BC4C2A #D76D4C

Accessibility & contrast

On white

7.88
#8A381F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A381F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A381F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A381F#FFFFFF#000000##FFFFFF
##8A381F1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461C
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#982533
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a381f;
/* rgb */ color: rgb(138, 56, 31);
/* oklch */ color: oklch(44.9% 0.118 37.3);
Tailwind
colors: {
  custom: {
    50: '#b3715c',
    500: '#8a381f',
    950: '#000000',
  },
}
SCSS
$custom: #8a381f;
$custom-light: #b3715c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a381f",
  "rgb": {
    "r": 138,
    "g": 56,
    "b": 31
  },
  "hsl": {
    "h": 14.019,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44941,
    "c": 0.11844,
    "h": 37.3
  },
  "luminance": 0.08331
}

Semantic roles & 50–950 ramp

primary
#8A381F
secondary
#4BA0BA
accent
#C0E641
background
#FBF7F5
surface
#F7EDE9
border
#D0C8C5
text
#120804
muted
#817B79

Preview Lab

Preview with #8A381F

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

Preview Lab → · Contrast checker → · Palette generator →

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