#8A162B#8A162B

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

Color values

HEX#8A162B
RGBrgb(138, 22, 43)
HSLhsl(349, 73%, 31%)
HSVhsv(349, 84%, 54%)
CMYKcmyk(0%, 84.1%, 68.8%, 45.9%)
CIE-LABlab(29.80, 47.77, 19.35)
CIE-LCHlch(29.80, 51.54, 22.05°)
OKLaboklab(41.35% 0.1419 0.0457)
OKLCHoklch(41.35% 0.149 17.9)
XYZxyz(11.2055, 6.1533, 2.8827)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A162B #168A75
analogous
#8A1665 #8A162B #8A3B16
triadic
#8A162B #2B8A16 #162B8A
tetradic
#8A162B #658A16 #168A75 #3B168A
square
#8A162B #658A16 #168A75 #3B168A
split-complementary
#8A162B #168A3B #16658A
monochromatic
#20050A #550E1B #8A162B #BF1E3B #E03B59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A162B#FFFFFF#000000##FFFFFF
##8A162B1.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)
#3A372B
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#980020
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a162b;
/* rgb */ color: rgb(138, 22, 43);
/* oklch */ color: oklch(41.3% 0.149 17.9);
Tailwind
colors: {
  custom: {
    50: '#b46164',
    500: '#8a162b',
    950: '#000000',
  },
}
SCSS
$custom: #8a162b;
$custom-light: #b46164;
$custom-dark: #000000;
JSON
{
  "hex": "#8a162b",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 349.138,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4135,
    "c": 0.14907,
    "h": 17.9
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#8A162B
secondary
#3EBEA7
accent
#EFCE39
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A162B

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

Preview Lab → · Contrast checker → · Palette generator →

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