#8A1F13#8A1F13

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

Color values

HEX#8A1F13
RGBrgb(138, 31, 19)
HSLhsl(6, 76%, 31%)
HSVhsv(6, 86%, 54%)
CMYKcmyk(0%, 77.5%, 86.2%, 45.9%)
CIE-LABlab(30.48, 43.99, 34.73)
CIE-LCHlch(30.48, 56.05, 38.29°)
OKLaboklab(41.76% 0.1245 0.073)
OKLCHoklch(41.76% 0.144 30.4)
XYZxyz(11.0901, 6.4320, 1.2735)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F13 #137E8A
analogous
#8A1343 #8A1F13 #8A5A13
triadic
#8A1F13 #138A1F #1F138A
tetradic
#8A1F13 #438A13 #137E8A #5A138A
square
#8A1F13 #438A13 #137E8A #5A138A
split-complementary
#8A1F13 #138A5A #13438A
monochromatic
#1E0704 #54130C #8A1F13 #C02B1A #E34634

Accessibility & contrast

On white

9.19
#8A1F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F13
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F13#FFFFFF#000000##FFFFFF
##8A1F131.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1f13;
/* rgb */ color: rgb(138, 31, 19);
/* oklch */ color: oklch(41.8% 0.144 30.4);
Tailwind
colors: {
  custom: {
    50: '#b56452',
    500: '#8a1f13',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f13;
$custom-light: #b56452;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f13",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 19
  },
  "hsl": {
    "h": 6.05,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41756,
    "c": 0.14436,
    "h": 30.4
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

primary
#8A1F13
secondary
#3AB1BE
accent
#DFF235
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78

Preview Lab

Preview with #8A1F13

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

Preview Lab → · Contrast checker → · Palette generator →

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