#8A162E#8A162E

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

Color values

HEX#8A162E
RGBrgb(138, 22, 46)
HSLhsl(348, 73%, 31%)
HSVhsv(348, 84%, 54%)
CMYKcmyk(0%, 84.1%, 66.7%, 45.9%)
CIE-LABlab(29.85, 47.95, 17.44)
CIE-LCHlch(29.85, 51.02, 19.99°)
OKLaboklab(41.41% 0.1431 0.0418)
OKLCHoklch(41.41% 0.149 16.3)
XYZxyz(11.2625, 6.1761, 3.1833)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A162E #168A72
analogous
#8A1668 #8A162E #8A3816
triadic
#8A162E #2E8A16 #162E8A
tetradic
#8A162E #688A16 #168A72 #38168A
square
#8A162E #688A16 #168A72 #38168A
split-complementary
#8A162E #168A38 #16688A
monochromatic
#20050B #550E1C #8A162E #BF1E40 #E03B5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A162E#FFFFFF#000000##FFFFFF
##8A162E1.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)
#39372E
Deuteranopia (green-blind)
#564F2B
Tritanopia (blue-blind)
#980021
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a162e;
/* rgb */ color: rgb(138, 22, 46);
/* oklch */ color: oklch(41.4% 0.149 16.3);
Tailwind
colors: {
  custom: {
    50: '#b36166',
    500: '#8a162e',
    950: '#000000',
  },
}
SCSS
$custom: #8a162e;
$custom-light: #b36166;
$custom-dark: #000000;
JSON
{
  "hex": "#8a162e",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 347.586,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4141,
    "c": 0.14909,
    "h": 16.3
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#8A162E
secondary
#3EBEA3
accent
#EFC939
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #8A162E

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

Preview Lab → · Contrast checker → · Palette generator →

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