#8A1D12#8A1D12

#8A1D12 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.146 H 30.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#8A1D12
RGBrgb(138, 29, 18)
HSLhsl(6, 77%, 31%)
HSVhsv(6, 87%, 54%)
CMYKcmyk(0%, 79%, 87%, 45.9%)
CIE-LABlab(30.22, 44.65, 35.03)
CIE-LCHlch(30.22, 56.75, 38.12°)
OKLaboklab(41.57% 0.1264 0.0733)
OKLCHoklch(41.57% 0.146 30.1)
XYZxyz(11.0311, 6.3275, 1.2126)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D12 #127F8A
analogous
#8A1243 #8A1D12 #8A5912
triadic
#8A1D12 #128A1D #1D128A
tetradic
#8A1D12 #438A12 #127F8A #59128A
square
#8A1D12 #438A12 #127F8A #59128A
split-complementary
#8A1D12 #128A59 #12438A
monochromatic
#1E0604 #54120B #8A1D12 #C02819 #E44232

Accessibility & contrast

On white

9.27
#8A1D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8A1D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D12
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D12#FFFFFF#000000##FFFFFF
##8A1D121.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F380F
Deuteranopia (green-blind)
#5A500B
Tritanopia (blue-blind)
#99001C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1d12;
/* rgb */ color: rgb(138, 29, 18);
/* oklch */ color: oklch(41.6% 0.146 30.1);
Tailwind
colors: {
  custom: {
    50: '#b56352',
    500: '#8a1d12',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d12;
$custom-light: #b56352;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d12",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 18
  },
  "hsl": {
    "h": 5.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41565,
    "c": 0.14608,
    "h": 30.1
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#8A1D12
secondary
#39B2BF
accent
#E2F334
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78

Preview Lab

Preview with #8A1D12

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

Preview Lab → · Contrast checker → · Palette generator →

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