#8A261F#8A261F

#8A261F is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.6% C 0.136 H 28.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#8A261F
RGBrgb(138, 38, 31)
HSLhsl(4, 63%, 33%)
HSVhsv(4, 78%, 54%)
CMYKcmyk(0%, 72.5%, 77.5%, 45.9%)
CIE-LABlab(31.56, 41.77, 29.01)
CIE-LCHlch(31.56, 50.85, 34.78°)
OKLaboklab(42.6% 0.12 0.0646)
OKLCHoklch(42.6% 0.136 28.3)
XYZxyz(11.4230, 6.8902, 2.0245)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A261F #1F838A
analogous
#8A1F4D #8A261F #8A5B1F
triadic
#8A261F #1F8A26 #261F8A
tetradic
#8A261F #4D8A1F #1F838A #5B1F8A
square
#8A261F #4D8A1F #1F838A #5B1F8A
split-complementary
#8A261F #1F8A5B #1F4D8A
monochromatic
#260A09 #581814 #8A261F #BC342A #D7564C

Accessibility & contrast

On white

8.83
#8A261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A261F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A261F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A261F#FFFFFF#000000##FFFFFF
##8A261F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1D
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a261f;
/* rgb */ color: rgb(138, 38, 31);
/* oklch */ color: oklch(42.6% 0.136 28.3);
Tailwind
colors: {
  custom: {
    50: '#b4675b',
    500: '#8a261f',
    950: '#000000',
  },
}
SCSS
$custom: #8a261f;
$custom-light: #b4675b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a261f",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 3.925,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.426,
    "c": 0.13631,
    "h": 28.3
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#8A261F
secondary
#4BB2BA
accent
#DCE641
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A261F

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

Preview Lab → · Contrast checker → · Palette generator →

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