#8A1818#8A1818

#8A1818 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.2% C 0.149 H 26.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#8A1818
RGBrgb(138, 24, 24)
HSLhsl(0, 70%, 32%)
HSVhsv(0, 83%, 54%)
CMYKcmyk(0%, 82.6%, 82.6%, 45.9%)
CIE-LABlab(29.72, 46.38, 31.23)
CIE-LCHlch(29.72, 55.92, 33.95°)
OKLaboklab(41.21% 0.133 0.0672)
OKLCHoklch(41.21% 0.149 26.8)
XYZxyz(10.9741, 6.1243, 1.4683)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1818 #188A8A
analogous
#8A1851 #8A1818 #8A5118
triadic
#8A1818 #188A18 #18188A
tetradic
#8A1818 #518A18 #188A8A #51188A
square
#8A1818 #518A18 #188A8A #51188A
split-complementary
#8A1818 #188A51 #18518A
monochromatic
#220606 #560F0F #8A1818 #BE2121 #DE3F3F

Accessibility & contrast

On white

9.44
#8A1818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#8A1818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1818
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1818#FFFFFF#000000##FFFFFF
##8A18181.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1818;
/* rgb */ color: rgb(138, 24, 24);
/* oklch */ color: oklch(41.2% 0.149 26.8);
Tailwind
colors: {
  custom: {
    50: '#b56155',
    500: '#8a1818',
    950: '#000000',
  },
}
SCSS
$custom: #8a1818;
$custom-light: #b56155;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1818",
  "rgb": {
    "r": 138,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4121,
    "c": 0.14906,
    "h": 26.8
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#8A1818
secondary
#40BDBD
accent
#EDED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1818

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

Preview Lab → · Contrast checker → · Palette generator →

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