#8A2A1F#8A2A1F

#8A2A1F is a dark, vivid red. Relative luminance 0.072; OKLCH L 43.1% C 0.132 H 29.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#8A2A1F
RGBrgb(138, 42, 31)
HSLhsl(6, 63%, 33%)
HSVhsv(6, 78%, 54%)
CMYKcmyk(0%, 69.6%, 77.5%, 45.9%)
CIE-LABlab(32.17, 40.09, 29.67)
CIE-LCHlch(32.17, 49.88, 36.51°)
OKLaboklab(43.06% 0.1148 0.0661)
OKLCHoklch(43.06% 0.132 29.9)
XYZxyz(11.5578, 7.1598, 2.0695)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A1F #1F7F8A
analogous
#8A1F49 #8A2A1F #8A5F1F
triadic
#8A2A1F #1F8A2A #2A1F8A
tetradic
#8A2A1F #498A1F #1F7F8A #5F1F8A
square
#8A2A1F #498A1F #1F7F8A #5F1F8A
split-complementary
#8A2A1F #1F8A5F #1F498A
monochromatic
#260C09 #581B14 #8A2A1F #BC392A #D75B4C

Accessibility & contrast

On white

8.64
#8A2A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A2A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A1F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A1F#FFFFFF#000000##FFFFFF
##8A2A1F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1D
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#980C28
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2a1f;
/* rgb */ color: rgb(138, 42, 31);
/* oklch */ color: oklch(43.1% 0.132 29.9);
Tailwind
colors: {
  custom: {
    50: '#b4695b',
    500: '#8a2a1f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a1f;
$custom-light: #b4695b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a1f",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 31
  },
  "hsl": {
    "h": 6.168,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43059,
    "c": 0.13243,
    "h": 29.9
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#8A2A1F
secondary
#4BAEBA
accent
#D5E641
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120704
muted
#817A79

Preview Lab

Preview with #8A2A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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