#8A2012#8A2012

#8A2012 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.8% C 0.144 H 31.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#8A2012
RGBrgb(138, 32, 18)
HSLhsl(7, 77%, 31%)
HSVhsv(7, 87%, 54%)
CMYKcmyk(0%, 76.8%, 87%, 45.9%)
CIE-LABlab(30.60, 43.61, 35.36)
CIE-LCHlch(30.60, 56.15, 39.04°)
OKLaboklab(41.84% 0.1232 0.074)
OKLCHoklch(41.84% 0.144 31)
XYZxyz(11.1083, 6.4817, 1.2384)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2012 #127C8A
analogous
#8A1240 #8A2012 #8A5C12
triadic
#8A2012 #128A20 #20128A
tetradic
#8A2012 #408A12 #127C8A #5C128A
square
#8A2012 #408A12 #127C8A #5C128A
split-complementary
#8A2012 #128A5C #12408A
monochromatic
#1E0704 #54130B #8A2012 #C02D19 #E44732

Accessibility & contrast

On white

9.15
#8A2012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8A2012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2012
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2012#FFFFFF#000000##FFFFFF
##8A20121.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390F
Deuteranopia (green-blind)
#5B500B
Tritanopia (blue-blind)
#99001E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a2012;
/* rgb */ color: rgb(138, 32, 18);
/* oklch */ color: oklch(41.8% 0.144 31.0);
Tailwind
colors: {
  custom: {
    50: '#b56452',
    500: '#8a2012',
    950: '#000000',
  },
}
SCSS
$custom: #8a2012;
$custom-light: #b56452;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2012",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 7,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41843,
    "c": 0.14368,
    "h": 31
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#8A2012
secondary
#39AFBF
accent
#DDF334
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78

Preview Lab

Preview with #8A2012

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

Preview Lab → · Contrast checker → · Palette generator →

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