#8A162F#8A162F

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

Color values

HEX#8A162F
RGBrgb(138, 22, 47)
HSLhsl(347, 73%, 31%)
HSVhsv(347, 84%, 54%)
CMYKcmyk(0%, 84.1%, 65.9%, 45.9%)
CIE-LABlab(29.87, 48.01, 16.81)
CIE-LCHlch(29.87, 50.86, 19.30°)
OKLaboklab(41.43% 0.1435 0.0404)
OKLCHoklch(41.43% 0.149 15.7)
XYZxyz(11.2825, 6.1841, 3.2883)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A162F #168A71
analogous
#8A1669 #8A162F #8A3716
triadic
#8A162F #2F8A16 #162F8A
tetradic
#8A162F #698A16 #168A71 #37168A
square
#8A162F #698A16 #168A71 #37168A
split-complementary
#8A162F #168A37 #16698A
monochromatic
#20050B #550E1D #8A162F #BF1E41 #E03B5E

Accessibility & contrast

On white

9.39
#8A162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#8A162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A162F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A162F#FFFFFF#000000##FFFFFF
##8A162F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39372F
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#980021
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a162f;
/* rgb */ color: rgb(138, 22, 47);
/* oklch */ color: oklch(41.4% 0.149 15.7);
Tailwind
colors: {
  custom: {
    50: '#b36167',
    500: '#8a162f',
    950: '#000000',
  },
}
SCSS
$custom: #8a162f;
$custom-light: #b36167;
$custom-dark: #000000;
JSON
{
  "hex": "#8a162f",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 347.069,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41431,
    "c": 0.14911,
    "h": 15.7
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#8A162F
secondary
#3EBEA2
accent
#EFC839
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A162F

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

Preview Lab → · Contrast checker → · Palette generator →

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