#8A281F#8A281F

#8A281F is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.8% C 0.134 H 29.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8A281F
RGBrgb(138, 40, 31)
HSLhsl(5, 63%, 33%)
HSVhsv(5, 78%, 54%)
CMYKcmyk(0%, 71%, 77.5%, 45.9%)
CIE-LABlab(31.86, 40.94, 29.34)
CIE-LCHlch(31.86, 50.37, 35.62°)
OKLaboklab(42.83% 0.1175 0.0653)
OKLCHoklch(42.83% 0.134 29.1)
XYZxyz(11.4886, 7.0215, 2.0464)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A281F #1F818A
analogous
#8A1F4B #8A281F #8A5D1F
triadic
#8A281F #1F8A28 #281F8A
tetradic
#8A281F #4B8A1F #1F818A #5D1F8A
square
#8A281F #4B8A1F #1F818A #5D1F8A
split-complementary
#8A281F #1F8A5D #1F4B8A
monochromatic
#260B09 #581A14 #8A281F #BC362A #D7584C

Accessibility & contrast

On white

8.74
#8A281F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8A281F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A281F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A281F#FFFFFF#000000##FFFFFF
##8A281F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1D
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#980627
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a281f;
/* rgb */ color: rgb(138, 40, 31);
/* oklch */ color: oklch(42.8% 0.134 29.1);
Tailwind
colors: {
  custom: {
    50: '#b4685b',
    500: '#8a281f',
    950: '#000000',
  },
}
SCSS
$custom: #8a281f;
$custom-light: #b4685b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a281f",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 31
  },
  "hsl": {
    "h": 5.047,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42825,
    "c": 0.13439,
    "h": 29.1
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#8A281F
secondary
#4BB0BA
accent
#D8E641
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120704
muted
#817A79

Preview Lab

Preview with #8A281F

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

Preview Lab → · Contrast checker → · Palette generator →

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