#8A162A#8A162A

#8A162A is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.3% C 0.149 H 18.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#8A162A
RGBrgb(138, 22, 42)
HSLhsl(350, 73%, 31%)
HSVhsv(350, 84%, 54%)
CMYKcmyk(0%, 84.1%, 69.6%, 45.9%)
CIE-LABlab(29.78, 47.72, 19.98)
CIE-LCHlch(29.78, 51.73, 22.72°)
OKLaboklab(41.33% 0.1415 0.047)
OKLCHoklch(41.33% 0.149 18.4)
XYZxyz(11.1873, 6.1460, 2.7873)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A162A #168A76
analogous
#8A1664 #8A162A #8A3C16
triadic
#8A162A #2A8A16 #162A8A
tetradic
#8A162A #648A16 #168A76 #3C168A
square
#8A162A #648A16 #168A76 #3C168A
split-complementary
#8A162A #168A3C #16648A
monochromatic
#20050A #550E1A #8A162A #BF1E3A #E03B57

Accessibility & contrast

On white

9.42
#8A162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#8A162A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A162A
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A162A#FFFFFF#000000##FFFFFF
##8A162A1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372A
Deuteranopia (green-blind)
#574F26
Tritanopia (blue-blind)
#98001F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a162a;
/* rgb */ color: rgb(138, 22, 42);
/* oklch */ color: oklch(41.3% 0.149 18.4);
Tailwind
colors: {
  custom: {
    50: '#b46163',
    500: '#8a162a',
    950: '#000000',
  },
}
SCSS
$custom: #8a162a;
$custom-light: #b46163;
$custom-dark: #000000;
JSON
{
  "hex": "#8a162a",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 349.655,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41331,
    "c": 0.14908,
    "h": 18.4
  },
  "luminance": 0.06144
}

Semantic roles & 50–950 ramp

primary
#8A162A
secondary
#3EBEA8
accent
#EFD039
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A162A

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

Preview Lab → · Contrast checker → · Palette generator →

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