#8A1C18#8A1C18

#8A1C18 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.146 H 27.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#8A1C18
RGBrgb(138, 28, 24)
HSLhsl(2, 70%, 32%)
HSVhsv(2, 83%, 54%)
CMYKcmyk(0%, 79.7%, 82.6%, 45.9%)
CIE-LABlab(30.16, 45.16, 31.67)
CIE-LCHlch(30.16, 55.15, 35.04°)
OKLaboklab(41.54% 0.1292 0.0682)
OKLCHoklch(41.54% 0.146 27.8)
XYZxyz(11.0627, 6.3015, 1.4978)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C18 #18868A
analogous
#8A184D #8A1C18 #8A5518
triadic
#8A1C18 #188A1C #1C188A
tetradic
#8A1C18 #4D8A18 #18868A #55188A
square
#8A1C18 #4D8A18 #18868A #55188A
split-complementary
#8A1C18 #188A55 #184D8A
monochromatic
#220706 #56110F #8A1C18 #BE2721 #DE443F

Accessibility & contrast

On white

9.29
#8A1C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#8A1C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C18
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C18#FFFFFF#000000##FFFFFF
##8A1C181.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3816
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#99001D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1c18;
/* rgb */ color: rgb(138, 28, 24);
/* oklch */ color: oklch(41.5% 0.146 27.8);
Tailwind
colors: {
  custom: {
    50: '#b56356',
    500: '#8a1c18',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c18;
$custom-light: #b56356;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c18",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 24
  },
  "hsl": {
    "h": 2.105,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41535,
    "c": 0.14606,
    "h": 27.8
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#8A1C18
secondary
#40B9BD
accent
#E7ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1C18

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

Preview Lab → · Contrast checker → · Palette generator →

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