#8A1B18#8A1B18

#8A1B18 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.4% C 0.147 H 27.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#8A1B18
RGBrgb(138, 27, 24)
HSLhsl(2, 70%, 32%)
HSVhsv(2, 83%, 54%)
CMYKcmyk(0%, 80.4%, 82.6%, 45.9%)
CIE-LABlab(30.05, 45.48, 31.55)
CIE-LCHlch(30.05, 55.35, 34.75°)
OKLaboklab(41.45% 0.1302 0.068)
OKLCHoklch(41.45% 0.147 27.6)
XYZxyz(11.0394, 6.2549, 1.4900)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B18 #18878A
analogous
#8A184E #8A1B18 #8A5418
triadic
#8A1B18 #188A1B #1B188A
tetradic
#8A1B18 #4E8A18 #18878A #54188A
square
#8A1B18 #4E8A18 #18878A #54188A
split-complementary
#8A1B18 #188A54 #184E8A
monochromatic
#220706 #56110F #8A1B18 #BE2521 #DE433F

Accessibility & contrast

On white

9.33
#8A1B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#8A1B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B18
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B18#FFFFFF#000000##FFFFFF
##8A1B181.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3716
Deuteranopia (green-blind)
#594F13
Tritanopia (blue-blind)
#99001C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1b18;
/* rgb */ color: rgb(138, 27, 24);
/* oklch */ color: oklch(41.4% 0.147 27.6);
Tailwind
colors: {
  custom: {
    50: '#b56256',
    500: '#8a1b18',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b18;
$custom-light: #b56256;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b18",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 24
  },
  "hsl": {
    "h": 1.579,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4145,
    "c": 0.14684,
    "h": 27.6
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

primary
#8A1B18
secondary
#40BABD
accent
#E8ED3B
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1B18

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

Preview Lab → · Contrast checker → · Palette generator →

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