#8A1917#8A1917

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

Color values

HEX#8A1917
RGBrgb(138, 25, 23)
HSLhsl(1, 71%, 32%)
HSVhsv(1, 83%, 54%)
CMYKcmyk(0%, 81.9%, 83.3%, 45.9%)
CIE-LABlab(29.82, 46.06, 31.90)
CIE-LCHlch(29.82, 56.03, 34.71°)
OKLaboklab(41.28% 0.1318 0.0683)
OKLCHoklch(41.28% 0.148 27.4)
XYZxyz(10.9849, 6.1622, 1.4215)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1917 #17888A
analogous
#8A174F #8A1917 #8A5317
triadic
#8A1917 #178A19 #19178A
tetradic
#8A1917 #4F8A17 #17888A #53178A
square
#8A1917 #4F8A17 #17888A #53178A
split-complementary
#8A1917 #178A53 #174F8A
monochromatic
#210606 #560F0E #8A1917 #BE2320 #DF403D

Accessibility & contrast

On white

9.41
#8A1917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#8A1917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1917
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1917#FFFFFF#000000##FFFFFF
##8A19171.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1917;
/* rgb */ color: rgb(138, 25, 23);
/* oklch */ color: oklch(41.3% 0.148 27.4);
Tailwind
colors: {
  custom: {
    50: '#b56255',
    500: '#8a1917',
    950: '#000000',
  },
}
SCSS
$custom: #8a1917;
$custom-light: #b56255;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1917",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 23
  },
  "hsl": {
    "h": 1.043,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41277,
    "c": 0.14846,
    "h": 27.4
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#8A1917
secondary
#3FBBBE
accent
#EBEE3A
background
#FCF6F4
surface
#F8EBE8
border
#D1C6C4
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1917

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

Preview Lab → · Contrast checker → · Palette generator →

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