#8A162C#8A162C

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

Color values

HEX#8A162C
RGBrgb(138, 22, 44)
HSLhsl(349, 73%, 31%)
HSVhsv(349, 84%, 54%)
CMYKcmyk(0%, 84.1%, 68.1%, 45.9%)
CIE-LABlab(29.81, 47.83, 18.71)
CIE-LCHlch(29.81, 51.36, 21.37°)
OKLaboklab(41.37% 0.1423 0.0444)
OKLCHoklch(41.37% 0.149 17.3)
XYZxyz(11.2240, 6.1607, 2.9805)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A162C #168A74
analogous
#8A1666 #8A162C #8A3A16
triadic
#8A162C #2C8A16 #162C8A
tetradic
#8A162C #668A16 #168A74 #3A168A
square
#8A162C #668A16 #168A74 #3A168A
split-complementary
#8A162C #168A3A #16668A
monochromatic
#20050A #550E1B #8A162C #BF1E3D #E03B5A

Accessibility & contrast

On white

9.41
#8A162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A162C
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A162C#FFFFFF#000000##FFFFFF
##8A162C1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372C
Deuteranopia (green-blind)
#574F29
Tritanopia (blue-blind)
#980020
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a162c;
/* rgb */ color: rgb(138, 22, 44);
/* oklch */ color: oklch(41.4% 0.149 17.3);
Tailwind
colors: {
  custom: {
    50: '#b36164',
    500: '#8a162c',
    950: '#000000',
  },
}
SCSS
$custom: #8a162c;
$custom-light: #b36164;
$custom-dark: #000000;
JSON
{
  "hex": "#8a162c",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 348.621,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41369,
    "c": 0.14907,
    "h": 17.3
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#8A162C
secondary
#3EBEA6
accent
#EFCD39
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #8A162C

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

Preview Lab → · Contrast checker → · Palette generator →

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