#8A162D#8A162D

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

Color values

HEX#8A162D
RGBrgb(138, 22, 45)
HSLhsl(348, 73%, 31%)
HSVhsv(348, 84%, 54%)
CMYKcmyk(0%, 84.1%, 67.4%, 45.9%)
CIE-LABlab(29.83, 47.89, 18.08)
CIE-LCHlch(29.83, 51.19, 20.68°)
OKLaboklab(41.39% 0.1427 0.0431)
OKLCHoklch(41.39% 0.149 16.8)
XYZxyz(11.2430, 6.1683, 3.0807)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A162D #168A73
analogous
#8A1667 #8A162D #8A3916
triadic
#8A162D #2D8A16 #162D8A
tetradic
#8A162D #678A16 #168A73 #39168A
square
#8A162D #678A16 #168A73 #39168A
split-complementary
#8A162D #168A39 #16678A
monochromatic
#20050B #550E1C #8A162D #BF1E3E #E03B5B

Accessibility & contrast

On white

9.40
#8A162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A162D
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A162D#FFFFFF#000000##FFFFFF
##8A162D1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a162d;
/* rgb */ color: rgb(138, 22, 45);
/* oklch */ color: oklch(41.4% 0.149 16.8);
Tailwind
colors: {
  custom: {
    50: '#b36165',
    500: '#8a162d',
    950: '#000000',
  },
}
SCSS
$custom: #8a162d;
$custom-light: #b36165;
$custom-dark: #000000;
JSON
{
  "hex": "#8a162d",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 348.103,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.14907,
    "h": 16.8
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#8A162D
secondary
#3EBEA4
accent
#EFCB39
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #8A162D

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

Preview Lab → · Contrast checker → · Palette generator →

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