#8A1E1B#8A1E1B

#8A1E1B is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.144 H 27.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#8A1E1B
RGBrgb(138, 30, 27)
HSLhsl(2, 67%, 32%)
HSVhsv(2, 80%, 54%)
CMYKcmyk(0%, 78.3%, 80.4%, 45.9%)
CIE-LABlab(30.43, 44.59, 30.19)
CIE-LCHlch(30.43, 53.85, 34.09°)
OKLaboklab(41.75% 0.128 0.066)
OKLCHoklch(41.75% 0.144 27.3)
XYZxyz(11.1447, 6.4127, 1.6877)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E1B #1B878A
analogous
#8A1B4F #8A1E1B #8A561B
triadic
#8A1E1B #1B8A1E #1E1B8A
tetradic
#8A1E1B #4F8A1B #1B878A #561B8A
square
#8A1E1B #4F8A1B #1B878A #561B8A
split-complementary
#8A1E1B #1B8A56 #1B4F8A
monochromatic
#240807 #571311 #8A1E1B #BD2925 #DB4945

Accessibility & contrast

On white

9.20
#8A1E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8A1E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E1B
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E1B#FFFFFF#000000##FFFFFF
##8A1E1B1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3919
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#98001F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1e1b;
/* rgb */ color: rgb(138, 30, 27);
/* oklch */ color: oklch(41.7% 0.144 27.3);
Tailwind
colors: {
  custom: {
    50: '#b46458',
    500: '#8a1e1b',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e1b;
$custom-light: #b46458;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e1b",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 27
  },
  "hsl": {
    "h": 1.622,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41746,
    "c": 0.14405,
    "h": 27.3
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#8A1E1B
secondary
#45B9BC
accent
#E6EA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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