#8A2812#8A2812

#8A2812 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.7% C 0.137 H 33.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8A2812
RGBrgb(138, 40, 18)
HSLhsl(11, 77%, 31%)
HSVhsv(11, 87%, 54%)
CMYKcmyk(0%, 71%, 87%, 45.9%)
CIE-LABlab(31.73, 40.49, 36.36)
CIE-LCHlch(31.73, 54.42, 41.92°)
OKLaboklab(42.69% 0.1135 0.0763)
OKLCHoklch(42.69% 0.137 33.9)
XYZxyz(11.3506, 6.9663, 1.3191)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2812 #12748A
analogous
#8A1238 #8A2812 #8A6412
triadic
#8A2812 #128A28 #28128A
tetradic
#8A2812 #388A12 #12748A #64128A
square
#8A2812 #388A12 #12748A #64128A
split-complementary
#8A2812 #128A64 #12388A
monochromatic
#1E0904 #54180B #8A2812 #C03819 #E45332

Accessibility & contrast

On white

8.78
#8A2812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A2812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2812
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2812#FFFFFF#000000##FFFFFF
##8A28121.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0E
Deuteranopia (green-blind)
#5D530C
Tritanopia (blue-blind)
#990224
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2812;
/* rgb */ color: rgb(138, 40, 18);
/* oklch */ color: oklch(42.7% 0.137 33.9);
Tailwind
colors: {
  custom: {
    50: '#b56852',
    500: '#8a2812',
    950: '#000000',
  },
}
SCSS
$custom: #8a2812;
$custom-light: #b56852;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2812",
  "rgb": {
    "r": 138,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 11,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42691,
    "c": 0.13673,
    "h": 33.9
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#8A2812
secondary
#39A6BF
accent
#D0F334
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78

Preview Lab

Preview with #8A2812

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

Preview Lab → · Contrast checker → · Palette generator →

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