#8A1F16#8A1F16

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

Color values

HEX#8A1F16
RGBrgb(138, 31, 22)
HSLhsl(5, 73%, 31%)
HSVhsv(5, 84%, 54%)
CMYKcmyk(0%, 77.5%, 84.1%, 45.9%)
CIE-LABlab(30.50, 44.08, 33.13)
CIE-LCHlch(30.50, 55.14, 36.93°)
OKLaboklab(41.78% 0.1254 0.0707)
OKLCHoklch(41.78% 0.144 29.4)
XYZxyz(11.1174, 6.4429, 1.4171)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F16 #16818A
analogous
#8A1647 #8A1F16 #8A5916
triadic
#8A1F16 #168A1F #1F168A
tetradic
#8A1F16 #478A16 #16818A #59168A
square
#8A1F16 #478A16 #16818A #59168A
split-complementary
#8A1F16 #168A59 #16478A
monochromatic
#200705 #55130E #8A1F16 #BF2B1E #E0473B

Accessibility & contrast

On white

9.18
#8A1F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8A1F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F16
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F16#FFFFFF#000000##FFFFFF
##8A1F161.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403914
Deuteranopia (green-blind)
#5A5010
Tritanopia (blue-blind)
#99001E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1f16;
/* rgb */ color: rgb(138, 31, 22);
/* oklch */ color: oklch(41.8% 0.144 29.4);
Tailwind
colors: {
  custom: {
    50: '#b56454',
    500: '#8a1f16',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f16;
$custom-light: #b56454;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f16",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 22
  },
  "hsl": {
    "h": 4.655,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41784,
    "c": 0.14393,
    "h": 29.4
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#8A1F16
secondary
#3EB4BE
accent
#E1EF39
background
#FCF6F4
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1F16

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

Preview Lab → · Contrast checker → · Palette generator →

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