#8A2112#8A2112

#8A2112 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.9% C 0.143 H 31.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#8A2112
RGBrgb(138, 33, 18)
HSLhsl(8, 77%, 31%)
HSVhsv(8, 87%, 54%)
CMYKcmyk(0%, 76.1%, 87%, 45.9%)
CIE-LABlab(30.73, 43.25, 35.48)
CIE-LCHlch(30.73, 55.94, 39.36°)
OKLaboklab(41.94% 0.122 0.0743)
OKLCHoklch(41.94% 0.143 31.3)
XYZxyz(11.1356, 6.5364, 1.2475)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2112 #127B8A
analogous
#8A123F #8A2112 #8A5D12
triadic
#8A2112 #128A21 #21128A
tetradic
#8A2112 #3F8A12 #127B8A #5D128A
square
#8A2112 #3F8A12 #127B8A #5D128A
split-complementary
#8A2112 #128A5D #123F8A
monochromatic
#1E0704 #54140B #8A2112 #C02E19 #E44832

Accessibility & contrast

On white

9.10
#8A2112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A2112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2112
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2112#FFFFFF#000000##FFFFFF
##8A21121.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A0F
Deuteranopia (green-blind)
#5B510C
Tritanopia (blue-blind)
#99001F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a2112;
/* rgb */ color: rgb(138, 33, 18);
/* oklch */ color: oklch(41.9% 0.143 31.3);
Tailwind
colors: {
  custom: {
    50: '#b56552',
    500: '#8a2112',
    950: '#000000',
  },
}
SCSS
$custom: #8a2112;
$custom-light: #b56552;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2112",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 18
  },
  "hsl": {
    "h": 7.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4194,
    "c": 0.14285,
    "h": 31.3
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#8A2112
secondary
#39AEBF
accent
#DCF334
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78

Preview Lab

Preview with #8A2112

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

Preview Lab → · Contrast checker → · Palette generator →

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