#8A1B24#8A1B24

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

Color values

HEX#8A1B24
RGBrgb(138, 27, 36)
HSLhsl(355, 67%, 32%)
HSVhsv(355, 80%, 54%)
CMYKcmyk(0%, 80.4%, 73.9%, 45.9%)
CIE-LABlab(30.20, 45.95, 24.38)
CIE-LCHlch(30.20, 52.02, 27.94°)
OKLaboklab(41.61% 0.1344 0.0557)
OKLCHoklch(41.61% 0.146 22.5)
XYZxyz(11.1929, 6.3163, 2.2985)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B24 #1B8A81
analogous
#8A1B5C #8A1B24 #8A491B
triadic
#8A1B24 #248A1B #1B248A
tetradic
#8A1B24 #5C8A1B #1B8A81 #491B8A
square
#8A1B24 #5C8A1B #1B8A81 #491B8A
split-complementary
#8A1B24 #1B8A49 #1B5C8A
monochromatic
#240709 #571117 #8A1B24 #BD2531 #DB4551

Accessibility & contrast

On white

9.28
#8A1B24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1B24
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B24#FFFFFF#000000##FFFFFF
##8A1B241.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1b24;
/* rgb */ color: rgb(138, 27, 36);
/* oklch */ color: oklch(41.6% 0.145 22.5);
Tailwind
colors: {
  custom: {
    50: '#b4635e',
    500: '#8a1b24',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b24;
$custom-light: #b4635e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b24",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 36
  },
  "hsl": {
    "h": 355.135,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41609,
    "c": 0.1455,
    "h": 22.5
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#8A1B24
secondary
#45BCB2
accent
#EADC3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A1B24

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

Preview Lab → · Contrast checker → · Palette generator →

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