#8A1E12#8A1E12

#8A1E12 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.145 H 30.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#8A1E12
RGBrgb(138, 30, 18)
HSLhsl(6, 77%, 31%)
HSVhsv(6, 87%, 54%)
CMYKcmyk(0%, 78.3%, 87%, 45.9%)
CIE-LABlab(30.35, 44.31, 35.14)
CIE-LCHlch(30.35, 56.55, 38.41°)
OKLaboklab(41.66% 0.1253 0.0735)
OKLCHoklch(41.66% 0.145 30.4)
XYZxyz(11.0561, 6.3773, 1.2209)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E12 #127E8A
analogous
#8A1242 #8A1E12 #8A5A12
triadic
#8A1E12 #128A1E #1E128A
tetradic
#8A1E12 #428A12 #127E8A #5A128A
square
#8A1E12 #428A12 #127E8A #5A128A
split-complementary
#8A1E12 #128A5A #12428A
monochromatic
#1E0604 #54120B #8A1E12 #C02A19 #E44432

Accessibility & contrast

On white

9.23
#8A1E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8A1E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E12
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E12#FFFFFF#000000##FFFFFF
##8A1E121.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380F
Deuteranopia (green-blind)
#5A500B
Tritanopia (blue-blind)
#99001D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1e12;
/* rgb */ color: rgb(138, 30, 18);
/* oklch */ color: oklch(41.7% 0.145 30.4);
Tailwind
colors: {
  custom: {
    50: '#b56452',
    500: '#8a1e12',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e12;
$custom-light: #b56452;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e12",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 18
  },
  "hsl": {
    "h": 6,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41655,
    "c": 0.1453,
    "h": 30.4
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#8A1E12
secondary
#39B1BF
accent
#E0F334
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78

Preview Lab

Preview with #8A1E12

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

Preview Lab → · Contrast checker → · Palette generator →

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