#8A1B26#8A1B26

#8A1B26 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.145 H 21.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#8A1B26
RGBrgb(138, 27, 38)
HSLhsl(354, 67%, 32%)
HSVhsv(354, 80%, 54%)
CMYKcmyk(0%, 80.4%, 72.5%, 45.9%)
CIE-LABlab(30.23, 46.05, 23.13)
CIE-LCHlch(30.23, 51.54, 26.67°)
OKLaboklab(41.64% 0.1352 0.0533)
OKLCHoklch(41.64% 0.145 21.5)
XYZxyz(11.2243, 6.3288, 2.4639)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B26 #1B8A7F
analogous
#8A1B5E #8A1B26 #8A471B
triadic
#8A1B26 #268A1B #1B268A
tetradic
#8A1B26 #5E8A1B #1B8A7F #471B8A
square
#8A1B26 #5E8A1B #1B8A7F #471B8A
split-complementary
#8A1B26 #1B8A47 #1B5E8A
monochromatic
#24070A #571118 #8A1B26 #BD2534 #DB4554

Accessibility & contrast

On white

9.27
#8A1B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8A1B26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B26
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B26#FFFFFF#000000##FFFFFF
##8A1B261.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3825
Deuteranopia (green-blind)
#585022
Tritanopia (blue-blind)
#980020
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1b26;
/* rgb */ color: rgb(138, 27, 38);
/* oklch */ color: oklch(41.6% 0.145 21.5);
Tailwind
colors: {
  custom: {
    50: '#b46360',
    500: '#8a1b26',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b26;
$custom-light: #b46360;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b26",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 38
  },
  "hsl": {
    "h": 354.054,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41642,
    "c": 0.14534,
    "h": 21.5
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#8A1B26
secondary
#45BCB0
accent
#EAD93E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A1B26

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

Preview Lab → · Contrast checker → · Palette generator →

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