#8A1B31#8A1B31

#8A1B31 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.9% C 0.145 H 15.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#8A1B31
RGBrgb(138, 27, 49)
HSLhsl(348, 67%, 32%)
HSVhsv(348, 80%, 54%)
CMYKcmyk(0%, 80.4%, 64.5%, 45.9%)
CIE-LABlab(30.43, 46.68, 16.21)
CIE-LCHlch(30.43, 49.41, 19.15°)
OKLaboklab(41.85% 0.1397 0.0392)
OKLCHoklch(41.85% 0.145 15.7)
XYZxyz(11.4288, 6.4106, 3.5407)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B31 #1B8A74
analogous
#8A1B69 #8A1B31 #8A3C1B
triadic
#8A1B31 #318A1B #1B318A
tetradic
#8A1B31 #698A1B #1B8A74 #3C1B8A
square
#8A1B31 #698A1B #1B8A74 #3C1B8A
split-complementary
#8A1B31 #1B8A3C #1B698A
monochromatic
#24070D #57111F #8A1B31 #BD2543 #DB4563

Accessibility & contrast

On white

9.20
#8A1B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8A1B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B31
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B31#FFFFFF#000000##FFFFFF
##8A1B311.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3931
Deuteranopia (green-blind)
#57502E
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1b31;
/* rgb */ color: rgb(138, 27, 49);
/* oklch */ color: oklch(41.9% 0.145 15.7);
Tailwind
colors: {
  custom: {
    50: '#b36368',
    500: '#8a1b31',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b31;
$custom-light: #b36368;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b31",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 49
  },
  "hsl": {
    "h": 348.108,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41853,
    "c": 0.14508,
    "h": 15.7
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#8A1B31
secondary
#45BCA4
accent
#EAC83E
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1B31

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

Preview Lab → · Contrast checker → · Palette generator →

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