#8A291F#8A291F

#8A291F is a dark, vivid red. Relative luminance 0.071; OKLCH L 42.9% C 0.133 H 29.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8A291F
RGBrgb(138, 41, 31)
HSLhsl(6, 63%, 33%)
HSVhsv(6, 78%, 54%)
CMYKcmyk(0%, 70.3%, 77.5%, 45.9%)
CIE-LABlab(32.01, 40.52, 29.50)
CIE-LCHlch(32.01, 50.12, 36.06°)
OKLaboklab(42.94% 0.1161 0.0657)
OKLCHoklch(42.94% 0.133 29.5)
XYZxyz(11.5228, 7.0898, 2.0578)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A291F #1F808A
analogous
#8A1F4B #8A291F #8A5E1F
triadic
#8A291F #1F8A29 #291F8A
tetradic
#8A291F #4B8A1F #1F808A #5E1F8A
square
#8A291F #4B8A1F #1F808A #5E1F8A
split-complementary
#8A291F #1F8A5E #1F4B8A
monochromatic
#260B09 #581A14 #8A291F #BC382A #D7594C

Accessibility & contrast

On white

8.69
#8A291F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8A291F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A291F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A291F#FFFFFF#000000##FFFFFF
##8A291F1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1D
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#980927
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a291f;
/* rgb */ color: rgb(138, 41, 31);
/* oklch */ color: oklch(42.9% 0.133 29.5);
Tailwind
colors: {
  custom: {
    50: '#b4695b',
    500: '#8a291f',
    950: '#000000',
  },
}
SCSS
$custom: #8a291f;
$custom-light: #b4695b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a291f",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 5.607,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42941,
    "c": 0.13341,
    "h": 29.5
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#8A291F
secondary
#4BAFBA
accent
#D7E641
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120704
muted
#817A79

Preview Lab

Preview with #8A291F

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

Preview Lab → · Contrast checker → · Palette generator →

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