#8A321B#8A321B

#8A321B is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.0% C 0.125 H 35.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8A321B
RGBrgb(138, 50, 27)
HSLhsl(12, 67%, 32%)
HSVhsv(12, 80%, 54%)
CMYKcmyk(0%, 63.8%, 80.4%, 45.9%)
CIE-LABlab(33.49, 36.26, 33.33)
CIE-LCHlch(33.49, 49.26, 42.59°)
OKLaboklab(44.04% 0.1021 0.0728)
OKLCHoklch(44.04% 0.125 35.5)
XYZxyz(11.8210, 7.7653, 1.9131)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A321B #1B738A
analogous
#8A1B3C #8A321B #8A691B
triadic
#8A321B #1B8A32 #321B8A
tetradic
#8A321B #3C8A1B #1B738A #691B8A
square
#8A321B #3C8A1B #1B738A #691B8A
split-complementary
#8A321B #1B8A69 #1B3C8A
monochromatic
#240D07 #571F11 #8A321B #BD4525 #DB6445

Accessibility & contrast

On white

8.23
#8A321B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A321B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A321B
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A321B#FFFFFF#000000##FFFFFF
##8A321B1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4218
Deuteranopia (green-blind)
#615618
Tritanopia (blue-blind)
#981C2D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a321b;
/* rgb */ color: rgb(138, 50, 27);
/* oklch */ color: oklch(44.0% 0.125 35.5);
Tailwind
colors: {
  custom: {
    50: '#b36e59',
    500: '#8a321b',
    950: '#000000',
  },
}
SCSS
$custom: #8a321b;
$custom-light: #b36e59;
$custom-dark: #000000;
JSON
{
  "hex": "#8a321b",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 27
  },
  "hsl": {
    "h": 12.432,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44039,
    "c": 0.1254,
    "h": 35.5
  },
  "luminance": 0.07764
}

Semantic roles & 50–950 ramp

primary
#8A321B
secondary
#45A3BC
accent
#C6EA3E
background
#FBF6F5
surface
#F7ECE9
border
#D0C7C5
text
#120703
muted
#817A78

Preview Lab

Preview with #8A321B

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

Preview Lab → · Contrast checker → · Palette generator →

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