#8A1918#8A1918

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

Color values

HEX#8A1918
RGBrgb(138, 25, 24)
HSLhsl(1, 70%, 32%)
HSVhsv(1, 83%, 54%)
CMYKcmyk(0%, 81.9%, 82.6%, 45.9%)
CIE-LABlab(29.83, 46.09, 31.33)
CIE-LCHlch(29.83, 55.73, 34.21°)
OKLaboklab(41.29% 0.1321 0.0675)
OKLCHoklch(41.29% 0.148 27.1)
XYZxyz(10.9951, 6.1663, 1.4753)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1918 #18898A
analogous
#8A1850 #8A1918 #8A5218
triadic
#8A1918 #188A19 #19188A
tetradic
#8A1918 #508A18 #18898A #52188A
square
#8A1918 #508A18 #18898A #52188A
split-complementary
#8A1918 #188A52 #18508A
monochromatic
#220606 #56100F #8A1918 #BE2221 #DE403F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1918#FFFFFF#000000##FFFFFF
##8A19181.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)
#3D3716
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#99001B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a1918;
/* rgb */ color: rgb(138, 25, 24);
/* oklch */ color: oklch(41.3% 0.148 27.1);
Tailwind
colors: {
  custom: {
    50: '#b56256',
    500: '#8a1918',
    950: '#000000',
  },
}
SCSS
$custom: #8a1918;
$custom-light: #b56256;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1918",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 24
  },
  "hsl": {
    "h": 0.526,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41288,
    "c": 0.14833,
    "h": 27.1
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#8A1918
secondary
#40BCBD
accent
#ECED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1918

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

Preview Lab → · Contrast checker → · Palette generator →

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