#8A1A17#8A1A17

#8A1A17 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.148 H 27.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#8A1A17
RGBrgb(138, 26, 23)
HSLhsl(2, 71%, 32%)
HSVhsv(2, 83%, 54%)
CMYKcmyk(0%, 81.2%, 83.3%, 45.9%)
CIE-LABlab(29.93, 45.76, 32.01)
CIE-LCHlch(29.93, 55.84, 34.98°)
OKLaboklab(41.36% 0.1308 0.0686)
OKLCHoklch(41.36% 0.148 27.7)
XYZxyz(11.0066, 6.2057, 1.4287)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A17 #17878A
analogous
#8A174E #8A1A17 #8A5417
triadic
#8A1A17 #178A1A #1A178A
tetradic
#8A1A17 #4E8A17 #17878A #54178A
square
#8A1A17 #4E8A17 #17878A #54178A
split-complementary
#8A1A17 #178A54 #174E8A
monochromatic
#210606 #56100E #8A1A17 #BE2420 #DF413D

Accessibility & contrast

On white

9.37
#8A1A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#8A1A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A17
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A17#FFFFFF#000000##FFFFFF
##8A1A171.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#594F11
Tritanopia (blue-blind)
#99001B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a1a17;
/* rgb */ color: rgb(138, 26, 23);
/* oklch */ color: oklch(41.4% 0.148 27.7);
Tailwind
colors: {
  custom: {
    50: '#b56255',
    500: '#8a1a17',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a17;
$custom-light: #b56255;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a17",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 23
  },
  "hsl": {
    "h": 1.565,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41357,
    "c": 0.14772,
    "h": 27.7
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#8A1A17
secondary
#3FBABE
accent
#E9EE3A
background
#FCF6F5
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1A17

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

Preview Lab → · Contrast checker → · Palette generator →

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